WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取要显示的组件编辑器的初始组件编辑器页的索引。
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;