System.Drawing.Design.UITypeEditor Class

Provides a base class that can be used to design value editors that can provide a user interface (UI) for representing and editing the values of objects of the supported data types.

See Also: UITypeEditor Members

Syntax

public class UITypeEditor

Remarks

The System.Drawing.Design.UITypeEditor class provides a base class that you can derive from and extend to implement a custom type editor for the design-time environment. Typically, your custom type editor interacts with the System.Windows.Forms.PropertyGrid control.

Custom type editors are useful in situations where a text-box value editor is insufficient to effectively select the values of certain types.

To implement a custom design-time UI type editor, you must perform the following steps:

You can add additional support for painting a value's representation in the Properties window by performing the following steps:

Note:

The System.Drawing.Design.UITypeEditor class does not support right-to-left (RTL) layouts.

For more information about enhancing design-time support, see Extending Design-Time Support. For more information on implementing a System.Drawing.Design.UITypeEditor, see User Interface Type Editors Overview.

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0