WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Metoda

Definice

Získá index úvodní stránky editoru komponent pro editor komponent, který se má zobrazit.

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

Int32

Index stránky editoru komponent, kterou editor komponent zpočátku zobrazí.

Příklady

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

   // This method override returns the index of the page to display when the 
   // component editor is first displayed.
protected:
   virtual int GetInitialComponentEditorPageIndex() override
   {
      return 1;
   }
// This method override returns the index of the page to display when the 
// component editor is first displayed.
protected override int GetInitialComponentEditorPageIndex()
{ 
    return 1; 
}
' This method override returns the index of the page to display when the 
' component editor is first displayed.
Protected Overrides Function GetInitialComponentEditorPageIndex() As Integer
    Return 1
End Function

Platí pro