WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Method ()

 

Gets the index of the initial component editor page for the component editor to display.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Protected Overridable Function GetInitialComponentEditorPageIndex As Integer

Return Value

Type: System.Int32

The index of the component editor page that the component editor will initially display.

The following code example demonstrates an example implementation of a GetInitialComponentEditorPageIndex method override.

' This method override returns the index of the page to display when the 
' component editor is first displayed.
Protected Overrides Function GetInitialComponentEditorPageIndex() As Integer
    Return 1
End Function

.NET Framework
Available since 1.1
Return to top
Show: