.NET Windows Forms in a Nutshell

ComponentEditor

System.ComponentModel (system.dll) abstract class

This is the abstract base class for a custom editor for a Component . You should override the EditComponent() method to display a modal user interface, which the designer can use to configure the object.

System.Windows.Forms.Design.WindowsFormsComponentEditor provides a base for a property sheet-like implementation of this class.

public abstract class ComponentEditor { // Protected Constructors protected ComponentEditor (); // Public Instance Methods public abstract bool EditComponent (ITypeDescriptorContext context , object component ); public bool EditComponent (object component ); }

Subclasses

System.Windows.Forms.Design.WindowsFormsComponentEditor

Категории