WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Méthode

Définition

Obtient l’index de la page de l’éditeur de composant initial pour que l’éditeur de composant s’affiche.

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

Retours

Index de la page de l’éditeur de composant que l’éditeur de composant affiche initialement.

Exemples

L’exemple de code suivant illustre un exemple d’implémentation d’un GetInitialComponentEditorPageIndex remplacement de méthode.

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

S’applique à