Export (0) Print
Expand All

WindowsFormsComponentEditor.GetComponentEditorPages Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft