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

System.ComponentModel.Design Namespace

The System.ComponentModel.Design namespace contains classes that developers can use to build custom design-time behavior for components and user interfaces for configuring components at design time. The design time environment provides systems that enable developers to arrange components and configure their properties. Some components may require specific design-time only behavior to function properly in a design time environment. It may also be valuable to provide custom user interfaces which assist developers in configuring components or the values of complex data types. The classes and interfaces defined within this namespace can be used to build design-time behavior for components, access design-time services, and implement customized design-time configuration interfaces.

The classes in this namespace include:

  Class Description
Public class ActiveDesignerEventArgs Provides data for the ActiveDesigner event.
Public class ActiveDesignSurfaceChangedEventArgs Provides data for the ActiveDesignSurfaceChanged event.
Public class ArrayEditor Provides a user interface for editing arrays at design time.
Public class BinaryEditor Provides a user interface for editing binary data.
Public class ByteViewer Displays byte arrays in hexadecimal, ANSI, and Unicode formats.
Public class CheckoutException The exception that is thrown when an attempt to check out a file that is checked into a source code management program is canceled or fails.
Public class CollectionEditor Provides a user interface that can edit most types of collections at design time.
Protected class CollectionEditor.CollectionForm Provides a modal dialog box for editing the contents of a collection using a UITypeEditor.
Public class CommandID Represents a unique command identifier that consists of a numeric command ID and a GUID menu group identifier.
Public class ComponentChangedEventArgs Provides data for the ComponentChanged event. This class cannot be inherited.
Public class ComponentChangingEventArgs Provides data for the ComponentChanging event. This class cannot be inherited.
Public class ComponentDesigner Extends the design mode behavior of a component.
Protected class ComponentDesigner.ShadowPropertyCollection Represents a collection of shadow properties that should override inherited default or assigned values for specific properties. This class cannot be inherited.
Public class ComponentEventArgs Provides data for the ComponentAdded, ComponentAdding, ComponentRemoved, and ComponentRemoving events.
Public class ComponentRenameEventArgs Provides data for the ComponentRename event.
Public class DateTimeEditor This date time editor is a UITypeEditor suitable for visually editing DateTime objects.
Public class DesignerActionHeaderItem Represents a static header item on a smart tag panel. This class cannot be inherited.
Public class DesignerActionItem Provides the base class for types that represent a panel item on a smart tag panel.
Public class DesignerActionItemCollection Represents a collection of DesignerActionItem objects.
Public class DesignerActionList Provides the base class for types that define a list of items used to create a smart tag panel.
Public class DesignerActionListCollection Represents a collection of DesignerActionList objects.
Public class DesignerActionListsChangedEventArgs Provides data for the DesignerActionListsChanged event.
Public class DesignerActionMethodItem Represents a smart tag panel item that is associated with a method in a class derived from DesignerActionList.
Public class DesignerActionPropertyItem Represents a panel item that is associated with a property in a class derived from DesignerActionList. This class cannot be inherited.
Public class DesignerActionService Establishes a design-time service that manages the collection of DesignerActionItem objects for components.
Public class DesignerActionTextItem Represents a static text item on a smart tag panel.
Public class DesignerActionUIService Manages the user interface (UI) for a smart tag panel. This class cannot be inherited.
Public class DesignerActionUIStateChangeEventArgs Provides data for the DesignerActionUIStateChange event.
Public class DesignerCollection Represents a collection of designers.
Public class DesignerCommandSet Represents a base class for design-time tools, not derived from ComponentDesigner, that provide smart tag or designer verb capabilities.
Public class DesignerEventArgs Provides data for the DesignerCreated and DesignerDisposed events.
Public class DesignerOptionService Provides a base class for getting and setting option values for a designer.
Public class DesignerOptionService.DesignerOptionCollection Contains a collection of designer options. This class cannot be inherited.
Public class DesignerTransaction Provides a way to group a series of design-time actions to improve performance and enable most types of changes to be undone.
Public class DesignerTransactionCloseEventArgs Provides data for the TransactionClosed and TransactionClosing events.
Public class DesignerVerb Represents a verb that can be invoked from a designer.
Public class DesignerVerbCollection Represents a collection of DesignerVerb objects.
Public class DesignSurface Presents a user interface for designing components.
Public class DesignSurfaceCollection Contains a collection of design surfaces. This class cannot be inherited.
Public class DesignSurfaceEventArgs Provides data for the DesignSurfaceCreated event.
Public class DesignSurfaceManager Manages a collection of DesignSurface objects.
Public class DesigntimeLicenseContext Represents a design-time license context that can support a license provider at design time.
Public class DesigntimeLicenseContextSerializer Provides support for design-time license context serialization.
Public class EventBindingService A default implementation of the IEventBindingService interface.
Public class ExceptionCollection Represents the collection of exceptions.
Public class HelpKeywordAttribute Specifies the context keyword for a class or member. This class cannot be inherited.
Public class InheritanceService Provides a set of methods for identifying inherited components.
Public class LoadedEventArgs Provides data for the Loaded event. This class cannot be inherited.
Public class LocalizationExtenderProvider Obsolete. Provides design-time support for localization features to a root designer.
Public class MenuCommand Represents a Windows menu or toolbar command item.
Public class MenuCommandsChangedEventArgs Provides data for the MenuCommandsChanged event.
Public class MenuCommandService Implements the IMenuCommandService interface.
Public class MultilineStringEditor Displays a dialog for editing multi-line strings in design mode.
Public class ObjectSelectorEditor Implements the basic functionality that can be used to design value editors. These editors can, in turn, provide a user interface for representing and editing the values of objects of the supported data types.
Public class ObjectSelectorEditor.Selector Displays a hierarchical collection of labeled items, each represented by a TreeNode.
Public class ObjectSelectorEditor.SelectorNode Represents a node of a TreeView.
Public class ProjectTargetFrameworkAttribute Specifies the target framework for a project.
Public class ServiceContainer Provides a simple implementation of the IServiceContainer interface. This class cannot be inherited.
Public class StandardCommands Defines identifiers for the standard set of commands that are available to most applications.
Public class StandardToolWindows Defines GUID identifiers that correspond to the standard set of tool windows that are available in the design environment.
Public class TypeDescriptionProviderService Provides a type description provider for a specified type.
Public class UndoEngine Specifies generic undo/redo functionality at design time.
Protected class UndoEngine.UndoUnit Encapsulates a unit of work that a user can undo.

  Interface Description
Public interface IComponentChangeService Provides an interface to add and remove the event handlers for events that add, change, remove or rename components, and provides methods to raise a ComponentChanged or ComponentChanging event.
Public interface IComponentDesignerDebugService Provides debugging services in a design-time environment.
Public interface IComponentDesignerStateService Allows a designer to store and retrieve its state.
Public interface IComponentDiscoveryService Enables enumeration of components at design time.
Public interface IComponentInitializer Provides a set of recommended default values during component creation.
Public interface IDesigner Provides the basic framework for building a custom designer.
Public interface IDesignerEventService Provides event notifications when root designers are added and removed, when a selected component changes, and when the current root designer changes.
Public interface IDesignerFilter Provides an interface that enables a designer to access and filter the dictionaries of a TypeDescriptor that stores the property, attribute, and event descriptors that a component designer can expose to the design-time environment.
Public interface IDesignerHost Provides an interface for managing designer transactions and components.
Public interface IDesignerHostTransactionState Specifies methods for the designer host to report on the state of transactions.
Public interface IDesignerOptionService Provides access to the designer options located on the Tools menu under the Options command in the Visual Studio development environment.
Public interface IDesignTimeAssemblyLoader Utility for loading assemblies in a designer.
Public interface IDictionaryService Provides a basic, component site-specific, key-value pair dictionary through a service that a designer can use to store user-defined data.
Public interface IEventBindingService Provides a service for registering event handlers for component events.
Public interface IExtenderListService Provides an interface that can list extender providers.
Public interface IExtenderProviderService Provides an interface for adding and removing extender providers at design time.
Public interface IHelpService Provides methods for showing Help topics and adding and removing Help keywords at design time.
Public interface IInheritanceService Provides methods for identifying the components of a component.
Public interface IMenuCommandService Provides methods to manage the global designer verbs and menu commands available in design mode, and to show some types of shortcut menus.
Public interface IMultitargetHelperService Defines multi-target type name resolution services in a design-time environment.
Public interface IReferenceService Provides an interface for obtaining references to objects within a project by name or type, obtaining the name of a specified object, and for locating the parent of a specified object within a designer project.
Public interface IResourceService Provides an interface for designers to access resource readers and writers for specific CultureInfo resource types.
Public interface IRootDesigner Provides support for root-level designer view technologies.
Public interface ISelectionService Provides an interface for a designer to select components.
Public interface IServiceContainer Provides a container for services.
Public interface ITreeDesigner Provides support for building a set of related custom designers.
Public interface ITypeDescriptorFilterService Provides an interface to modify the set of member descriptors for a component in design mode.
Public interface ITypeDiscoveryService Discovers available types at design time.
Public interface ITypeResolutionService Provides an interface to retrieve an assembly or type by name.

  Delegate Description
Public delegate ActiveDesignerEventHandler Represents the method that will handle the ActiveDesignerChanged event.
Public delegate ActiveDesignSurfaceChangedEventHandler Represents the method that will handle the ActiveDesignSurfaceChanged event of a DesignSurfaceManager. This class cannot be inherited.
Public delegate ComponentChangedEventHandler Represents the method that will handle a ComponentChanged event.
Public delegate ComponentChangingEventHandler Represents the method that will handle a ComponentChanging event.
Public delegate ComponentEventHandler Represents the method that will handle the ComponentAdding, ComponentAdded, ComponentRemoving, and ComponentRemoved events raised for component-level events.
Public delegate ComponentRenameEventHandler Represents the method that will handle a ComponentRename event.
Public delegate DesignerActionListsChangedEventHandler Represents the method that will handle the DesignerActionListsChanged event of a DesignerActionService. This class cannot be inherited.
Public delegate DesignerActionUIStateChangeEventHandler Represents the method that will handle the DesignerActionUIStateChange event of a DesignerActionUIService.
Public delegate DesignerEventHandler Represents the method that will handle the DesignerCreated and DesignerDisposed events that are raised when a document is created or disposed of.
Public delegate DesignerTransactionCloseEventHandler Represents the method that handles the TransactionClosed and TransactionClosing events of a designer.
Public delegate DesignSurfaceEventHandler Represents the method that will handle the DesignSurfaceCreated event of a DesignSurfaceManager class. This class cannot be inherited.
Public delegate LoadedEventHandler Represents the method that will handle the Loaded event of the DesignSurface class. This class cannot be inherited.
Public delegate MenuCommandsChangedEventHandler Represents the method that will handle the MenuCommandsChanged event of a MenuCommandService. This class cannot be inherited.
Public delegate ServiceCreatorCallback Provides a callback mechanism that can create an instance of a service on demand.

  Enumeration Description
Public enumeration ComponentActionsType Specifies the type of object-bound smart tag with respect to how it was associated with the component.
Public enumeration DesignerActionListsChangedType Specifies the type of change occurring in a collection of DesignerActionList objects.
Public enumeration DesignerActionUIStateChangeType Specifies the display state of a smart tag panel.
Public enumeration DisplayMode Defines identifiers that indicate the display modes used by ByteViewer.
Public enumeration HelpContextType Defines identifiers that indicate information about the context in which a request for Help information originated.
Public enumeration HelpKeywordType Defines identifiers that indicate the type of a Help keyword.
Public enumeration MenuCommandsChangedType Specifies the type of action that occurred to the related object's MenuCommands collection.
Public enumeration SelectionTypes Defines identifiers that indicate the type of a selection.
Public enumeration ViewTechnology Defines identifiers for a set of technologies that designer hosts support.
© 2015 Microsoft