Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

System.Drawing.Design Namespace

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

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.

Caution note Caution

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.

  Class Description
Public class BitmapEditor Provides a user interface for selecting bitmap files in a property browser.
Public class CategoryNameCollection Represents a collection of category name strings.
Public class ColorEditor Provides a UITypeEditor for visually picking a color.
Public class ContentAlignmentEditor Provides a UITypeEditor for visually editing content alignment.
Public class CursorEditor Provides a UITypeEditor that can perform default file searching for cursor (.cur) files.
Public class FontEditor Provides a user interface to select and configure a Font object.
Public class FontNameEditor Provides a UITypeEditor that paints a glyph for the font name.
Public class IconEditor Provides a UITypeEditor for visually choosing an icon.
Public class ImageEditor Provides a user interface for selecting an image for a property in a property grid.
Public class MetafileEditor Infrastructure. Provides a UITypeEditor that can perform default file searching for metafile (.emf) files.
Public class PaintValueEventArgs Provides data for the PaintValue method.
Public class 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.
Public class ToolboxComponentsCreatedEventArgs Provides data for the ComponentsCreated event that occurs when components are added to the toolbox.
Public class ToolboxComponentsCreatingEventArgs Provides data for the ComponentsCreating event that occurs when components are added to the toolbox.
Public class ToolboxItem Provides a base implementation of a toolbox item.
Public class ToolboxItemCollection Represents a collection of toolbox items.
Public class ToolboxItemContainer Encapsulates a ToolboxItem.
Public class ToolboxItemCreator Encapsulates a ToolboxItemCreatorCallback. This class cannot be inherited.
Public class ToolboxService Provides a default implementation of the IToolboxService interface.
Public class 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.

  Interface Description
Public interface IPropertyValueUIService Provides an interface to manage the images, ToolTips, and event handlers for the properties of a component displayed in a property browser.
Public interface IToolboxItemProvider Exposes a collection of toolbox items.
Public interface IToolboxService Provides methods and properties to manage and query the toolbox in the development environment.
Public interface IToolboxUser Defines an interface for setting the currently selected toolbox item and indicating whether a designer supports a particular toolbox item.

  Delegate Description
Public delegate PropertyValueUIHandler Represents the method that adds a delegate to an implementation of IPropertyValueUIService.
Public delegate PropertyValueUIItemInvokeHandler Represents the method that will handle the InvokeHandler event of a PropertyValueUIItem.
Public delegate ToolboxComponentsCreatedEventHandler Represents the method that handles the ComponentsCreated event.
Public delegate ToolboxComponentsCreatingEventHandler Represents the method that handles the ComponentsCreating event.
Public delegate ToolboxItemCreatorCallback Provides a callback mechanism that can create a ToolboxItem.

  Enumeration Description
Public enumeration UITypeEditorEditStyle Specifies identifiers that indicate the value editing style of a UITypeEditor.
© 2015 Microsoft