System.Drawing.Design Namespace

The System.Drawing.Design namespace contains classes that extend design-time user interface (UI) logic and drawing.

Remarks

The classes in this namespace can be used to create custom toolbox items, type-specific value editors that can edit and graphically represent values of their supported types, and type converters that can convert values between certain types. This namespace provides the basic frameworks for developing extensions to the design-time UI.

Note:

Classes within the System.Drawing.Design namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

Classes

TypeReason
CategoryNameCollection

Represents a collection of category name strings.

IPropertyValueUIService

Provides an interface to manage the images, ToolTips, and event handlers for the properties of a component displayed in a property browser.

IToolboxItemProvider

Exposes a collection of toolbox items.

IToolboxService

Provides methods and properties to manage and query the toolbox in the development environment.

IToolboxUser

Defines an interface for setting the currently selected toolbox item and indicating whether a designer supports a particular toolbox item.

PaintValueEventArgs

Provides data for the UITypeEditor.PaintValue(Object,Graphics,Rectangle) method.

PropertyValueUIHandler

Represents the method that adds a delegate to an implementation of IPropertyValueUIService.

PropertyValueUIItem

Provides information about a property displayed in the Properties window, including the associated event handler, pop-up information string, and the icon to display for the property.

PropertyValueUIItemInvokeHandler

Represents the method that will handle the PropertyValueUIItem.InvokeHandler event of a PropertyValueUIItem.

ToolboxComponentsCreatedEventArgs

Provides data for the ToolboxItem.ComponentsCreated event that occurs when components are added to the toolbox.

ToolboxComponentsCreatedEventHandler

Represents the method that handles the ToolboxItem.ComponentsCreated event.

ToolboxComponentsCreatingEventArgs

Provides data for the ToolboxItem.ComponentsCreating event that occurs when components are added to the toolbox.

ToolboxComponentsCreatingEventHandler

Represents the method that handles the ToolboxItem.ComponentsCreating event.

ToolboxItem

Provides a base implementation of a toolbox item.

ToolboxItemCollection

Represents a collection of toolbox items.

ToolboxItemCreatorCallback

Provides a callback mechanism that can create a ToolboxItem.

UITypeEditor

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.

UITypeEditorEditStyle

Specifies identifiers that indicate the value editing style of a UITypeEditor.