Share via


WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Método

Definição

Obtém o índice da página inicial do editor de componentes a ser exibida.

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

Retornos

O índice da página do editor de componentes que ele exibirá inicialmente.

Exemplos

O exemplo de código a seguir demonstra um exemplo de implementação de uma GetInitialComponentEditorPageIndex substituição de método.

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

Aplica-se a