Name

ComponentEditor

Synopsis

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

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.