WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Yöntem

Tanım

Bileşen düzenleyicisinin görüntüleneceği ilk bileşen düzenleyicisi sayfasının dizinini alır.

protected:
 virtual int GetInitialComponentEditorPageIndex();
protected virtual int GetInitialComponentEditorPageIndex();
abstract member GetInitialComponentEditorPageIndex : unit -> int
override this.GetInitialComponentEditorPageIndex : unit -> int
Protected Overridable Function GetInitialComponentEditorPageIndex () As Integer

Döndürülenler

Bileşen düzenleyicisinin başlangıçta görüntüleneceği bileşen düzenleyicisi sayfasının dizini.

Örnekler

Aşağıdaki kod örneği, bir yöntem geçersiz kılma işleminin GetInitialComponentEditorPageIndex örnek uygulamasını gösterir.

// This method override returns the index of the page to display when the
// component editor is first displayed.
protected override int GetInitialComponentEditorPageIndex() => 1;

Şunlara uygulanır