This class provides the abstract base for classes that provide a
modal dialog that displays tab pages of settings, similar to a Win32
PropertySheet.
The EditComponent() method displays an editor
window that contains the pages obtained from the protected
GetComponentEditorPages() method. The protected
GetInitialComponentEditorPageIndex() retrieves
the index of the page in the list that should be displayed by
default.
For example,
System.Windows.Forms.AxHost.AxComponentEditor
derives from this class to display the OLE Property Pages for the
hosted ActiveX control.
public abstract class WindowsFormsComponentEditor : System.ComponentModel.ComponentEditor {
// Protected Constructors
protected WindowsFormsComponentEditor();
// Public Instance Methods
public override bool EditComponent(System.ComponentModel.ITypeDescriptorContext context,
// overrides System.ComponentModel.ComponentEditor
public virtual bool EditComponent(System.ComponentModel.ITypeDescriptorContext context,
object component, System.Windows.Forms.IWin32Window owner);
public bool EditComponent(object component, System.Windows.Forms.IWin32Window owner);
// Protected Instance Methods
protected virtual Type[ ] GetComponentEditorPages();
protected virtual int GetInitialComponentEditorPageIndex();
}