WindowsFormsComponentEditor.GetInitialComponentEditorPageIndex Method

Definition

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

C#
protected virtual int GetInitialComponentEditorPageIndex();

Returns

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

Examples

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

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

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10