WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Metoda

Definice

Získá index počáteční stránky editoru komponent, aby se zobrazil editor komponent.

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

Návraty

Index stránky editoru komponent, kterou bude editor součástí zpočátku zobrazovat.

Příklady

Následující příklad kódu ukazuje příklad implementace přepsání GetInitialComponentEditorPageIndex metody.

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

Platí pro