Export (0) Print
Expand All

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 noteCaution

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.

  ClassDescription
Public classBitmapEditorProvides a user interface for selecting bitmap files in a property browser.
Public classCategoryNameCollectionRepresents a collection of category name strings.
Public classColorEditorProvides a UITypeEditor for visually picking a color.
Public classContentAlignmentEditorProvides a UITypeEditor for visually editing content alignment.
Public classCursorEditorProvides a UITypeEditor that can perform default file searching for cursor (.cur) files.
Public classFontEditorProvides a user interface to select and configure a Font object.
Public classFontNameEditorProvides a UITypeEditor that paints a glyph for the font name.
Public classIconEditorProvides a UITypeEditor for visually choosing an icon.
Public classImageEditorProvides a user interface for selecting an image for a property in a property grid.
Public classMetafileEditorInfrastructure. Provides a UITypeEditor that can perform default file searching for metafile (.emf) files.
Public classPaintValueEventArgsProvides data for the PaintValue method.
Public classPropertyValueUIItemProvides 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 classToolboxComponentsCreatedEventArgsProvides data for the ComponentsCreated event that occurs when components are added to the toolbox.
Public classToolboxComponentsCreatingEventArgsProvides data for the ComponentsCreating event that occurs when components are added to the toolbox.
Public classToolboxItemProvides a base implementation of a toolbox item.
Public classToolboxItemCollectionRepresents a collection of toolbox items.
Public classToolboxItemContainerEncapsulates a ToolboxItem.
Public classToolboxItemCreatorEncapsulates a ToolboxItemCreatorCallback. This class cannot be inherited.
Public classToolboxServiceProvides a default implementation of the IToolboxService interface.
Public classUITypeEditorProvides 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.

  InterfaceDescription
Public interfaceIPropertyValueUIServiceProvides an interface to manage the images, ToolTips, and event handlers for the properties of a component displayed in a property browser.
Public interfaceIToolboxItemProviderExposes a collection of toolbox items.
Public interfaceIToolboxServiceProvides methods and properties to manage and query the toolbox in the development environment.
Public interfaceIToolboxUserDefines an interface for setting the currently selected toolbox item and indicating whether a designer supports a particular toolbox item.

  DelegateDescription
Public delegatePropertyValueUIHandlerRepresents the method that adds a delegate to an implementation of IPropertyValueUIService.
Public delegatePropertyValueUIItemInvokeHandlerRepresents the method that will handle the InvokeHandler event of a PropertyValueUIItem.
Public delegateToolboxComponentsCreatedEventHandlerRepresents the method that handles the ComponentsCreated event.
Public delegateToolboxComponentsCreatingEventHandlerRepresents the method that handles the ComponentsCreating event.
Public delegateToolboxItemCreatorCallbackProvides a callback mechanism that can create a ToolboxItem.

  EnumerationDescription
Public enumerationUITypeEditorEditStyleSpecifies identifiers that indicate the value editing style of a UITypeEditor.

Community Additions

ADD
Show:
© 2014 Microsoft