WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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;