WindowsFormsComponentEditor.GetComponentEditorPages Method

Definition

Gets the component editor pages associated with the component editor.

C#
protected virtual Type[] GetComponentEditorPages();
C#
protected virtual Type[]? GetComponentEditorPages();

Returns

Type[]

An array of component editor pages.

Examples

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

C#
// This method override returns an type array containing the type of 
// each component editor page to display.
protected override Type[] GetComponentEditorPages()
{
    return new Type[] { typeof(ExampleComponentEditorPage),
                        typeof(ExampleComponentEditorPage) };
}

Notes to Inheritors

You must override this method to implement the functionality for this method.

Applies to

Product Versions
.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