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() => 1;

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