WindowsFormsComponentEditor

WindowsFormsComponentEditor

System. Windows .Forms.Design (system. windows .forms.dll) abstract class

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

Hierarchy

System.Object System.ComponentModel.ComponentEditor WindowsFormsComponentEditor

Subclasses

System.Windows.Forms.AxComponentEditor



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net