WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Метод

Определение

Получает индекс первой страницы редактора компонентов, которая отображается редактором компонентов.

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

Возвращаемое значение

Индекс страницы редактора компонентов, которая в начальный момент будет отображена редактором компонентов.

Примеры

В следующем примере кода показан пример реализации GetInitialComponentEditorPageIndex переопределения метода.

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

Применяется к