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;

适用于