WindowsFormsComponentEditor.GetComponentEditorPages Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the component editor pages associated with the component editor.

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

protected virtual Type[] GetComponentEditorPages()

Return Value

Type: System.Type[]

An array of component editor pages.

Notes to Inheritors:

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

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

// 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) }; 
}

.NET Framework
Available since 1.1
Return to top
Show: