Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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:

  ClassDescription
Public classActiveDesignerEventArgs Provides data for the ActiveDesigner event.
Public classActiveDesignSurfaceChangedEventArgs Provides data for the ActiveDesignSurfaceChanged event.
Public classArrayEditor Provides a user interface for editing arrays at design time.
Public classBinaryEditor Provides a user interface for editing binary data.
Public classByteViewer Displays byte arrays in hexadecimal, ANSI, and Unicode formats.
Public classCheckoutException 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 classCollectionEditor Provides a user interface that can edit most types of collections at design time.
Protected classCollectionEditor..::.CollectionForm Provides a modal dialog box for editing the contents of a collection using a UITypeEditor.
Public classCommandID Represents a unique command identifier that consists of a numeric command ID and a GUID menu group identifier.
Public classComponentChangedEventArgs Provides data for the ComponentChanged event. This class cannot be inherited.
Public classComponentChangingEventArgs Provides data for the ComponentChanging event. This class cannot be inherited.
Public classComponentDesigner Extends the design mode behavior of a component.
Protected classComponentDesigner..::.ShadowPropertyCollection Represents a collection of shadow properties that should override inherited default or assigned values for specific properties. This class cannot be inherited.
Public classComponentEventArgs Provides data for the ComponentAdded, ComponentAdding, ComponentRemoved, and ComponentRemoving events.
Public classComponentRenameEventArgs Provides data for the ComponentRename event.
Public classDateTimeEditor This date time editor is a UITypeEditor suitable for visually editing DateTime objects.
Public classDesignerActionHeaderItem Represents a static header item on a smart tag panel. This class cannot be inherited.
Public classDesignerActionItem Provides the base class for types that represent a panel item on a smart tag panel.
Public classDesignerActionItemCollection Represents a collection of DesignerActionItem objects.
Public classDesignerActionList Provides the base class for types that define a list of items used to create a smart tag panel.
Public classDesignerActionListCollectionRepresents a collection of DesignerActionList objects.
Public classDesignerActionListsChangedEventArgs Provides data for the DesignerActionListsChanged event.
Public classDesignerActionMethodItem Represents a smart tag panel item that is associated with a method in a class derived from DesignerActionList.
Public classDesignerActionPropertyItem Represents a panel item that is associated with a property in a class derived from DesignerActionList. This class cannot be inherited.
Public classDesignerActionService Establishes a design-time service that manages the collection of DesignerActionItem objects for components.
Public classDesignerActionTextItem Represents a static text item on a smart tag panel.
Public classDesignerActionUIService Manages the user interface (UI) for a smart tag panel. This class cannot be inherited.
Public classDesignerActionUIStateChangeEventArgs Provides data for the DesignerActionUIStateChange event.
Public classDesignerCollection Represents a collection of designers.
Public classDesignerCommandSet Represents a base class for design-time tools, not derived from ComponentDesigner, that provide smart tag or designer verb capabilities.
Public classDesignerEventArgs Provides data for the DesignerCreated and DesignerDisposed events.
Public classDesignerOptionService Provides a base class for getting and setting option values for a designer.
Public classDesignerOptionService..::.DesignerOptionCollection Contains a collection of designer options. This class cannot be inherited.
Public classDesignerTransaction Provides a way to group a series of design-time actions to improve performance and enable most types of changes to be undone.
Public classDesignerTransactionCloseEventArgs Provides data for the TransactionClosed and TransactionClosing events.
Public classDesignerVerb Represents a verb that can be invoked from a designer.
Public classDesignerVerbCollection Represents a collection of DesignerVerb objects.
Public classDesignSurface Presents a user interface for designing components.
Public classDesignSurfaceCollection Contains a collection of design surfaces. This class cannot be inherited.
Public classDesignSurfaceEventArgs Provides data for the DesignSurfaceCreated event.
Public classDesignSurfaceManager Manages a collection of DesignSurface objects.
Public classDesigntimeLicenseContext Represents a design-time license context that can support a license provider at design time.
Public classDesigntimeLicenseContextSerializer Provides support for design-time license context serialization.
Public classEventBindingService A default implementation of the IEventBindingService interface.
Public classExceptionCollection Represents the collection of exceptions.
Public classHelpKeywordAttribute Specifies the context keyword for a class or member. This class cannot be inherited.
Public classInheritanceService Provides a set of methods for identifying inherited components.
Public classLoadedEventArgs Provides data for the Loaded event. This class cannot be inherited.
Public classLocalizationExtenderProvider Obsolete. Provides design-time support for localization features to a root designer.
Public classMenuCommand Represents a Windows menu or toolbar command item.
Public classMenuCommandsChangedEventArgs Provides data for the MenuCommandsChanged event.
Public classMenuCommandService Implements the IMenuCommandService interface.
Public classMultilineStringEditor Displays a dialog for editing multi-line strings in design mode.
Public classObjectSelectorEditor 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 classObjectSelectorEditor..::.Selector Displays a hierarchical collection of labeled items, each represented by a TreeNode.
Public classObjectSelectorEditor..::.SelectorNode Represents a node of a TreeView.
Public classServiceContainer Provides a simple implementation of the IServiceContainer interface. This class cannot be inherited.
Public classStandardCommands Defines identifiers for the standard set of commands that are available to most applications.
Public classStandardToolWindows Defines GUID identifiers that correspond to the standard set of tool windows that are available in the design environment.
Public classUndoEngine Specifies generic undo/redo functionality at design time.
Protected classUndoEngine..::.UndoUnit Encapsulates a unit of work that a user can undo.
  InterfaceDescription
Public interfaceIComponentChangeService 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 interfaceIComponentDesignerDebugService Provides debugging services in a design-time environment.
Public interfaceIComponentDesignerStateService Allows a designer to store and retrieve its state.
Public interfaceIComponentDiscoveryService Enables enumeration of components at design time.
Public interfaceIComponentInitializer Provides a set of recommended default values during component creation.
Public interfaceIDesignerProvides the basic framework for building a custom designer.
Public interfaceIDesignerEventService Provides event notifications when root designers are added and removed, when a selected component changes, and when the current root designer changes.
Public interfaceIDesignerFilter 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 interfaceIDesignerHost Provides an interface for managing designer transactions and components.
Public interfaceIDesignerHostTransactionState Specifies methods for the designer host to report on the state of transactions.
Public interfaceIDesignerOptionService Provides access to the designer options located on the Tools menu under the Options command in the Visual Studio .NET development environment.
Public interfaceIDictionaryService Provides a basic, component site-specific, key-value pair dictionary through a service that a designer can use to store user-defined data.
Public interfaceIEventBindingService Provides a service for registering event handlers for component events.
Public interfaceIExtenderListService Provides an interface that can list extender providers.
Public interfaceIExtenderProviderService Provides an interface for adding and removing extender providers at design time.
Public interfaceIHelpService Provides methods for showing Help topics and adding and removing Help keywords at design time.
Public interfaceIInheritanceService Provides methods for identifying the components of a component.
Public interfaceIMenuCommandServiceProvides methods to manage the global designer verbs and menu commands available in design mode, and to show some types of shortcut menus.
Public interfaceIReferenceService 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 interfaceIResourceService Provides an interface for designers to access resource readers and writers for specific CultureInfo resource types.
Public interfaceIRootDesigner Provides support for root-level designer view technologies.
Public interfaceISelectionService Provides an interface for a designer to select components.
Public interfaceIServiceContainer Provides a container for services.
Public interfaceITreeDesigner Provides support for building a set of related custom designers.
Public interfaceITypeDescriptorFilterService Provides an interface to modify the set of member descriptors for a component in design mode.
Public interfaceITypeDiscoveryService Discovers available types at design time.
Public interfaceITypeResolutionService Provides an interface to retrieve an assembly or type by name.
  DelegateDescription
Public delegateActiveDesignerEventHandler Represents the method that will handle the ActiveDesignerChanged event.
Public delegateActiveDesignSurfaceChangedEventHandler Represents the method that will handle the ActiveDesignSurfaceChanged event of a DesignSurfaceManager. This class cannot be inherited.
Public delegateComponentChangedEventHandler Represents the method that will handle a ComponentChanged event.
Public delegateComponentChangingEventHandler Represents the method that will handle a ComponentChanging event.
Public delegateComponentEventHandler Represents the method that will handle the ComponentAdding, ComponentAdded, ComponentRemoving, and ComponentRemoved events raised for component-level events.
Public delegateComponentRenameEventHandler Represents the method that will handle a ComponentRename event.
Public delegateDesignerActionListsChangedEventHandler Represents the method that will handle the DesignerActionListsChanged event of a DesignerActionService. This class cannot be inherited.
Public delegateDesignerActionUIStateChangeEventHandler Represents the method that will handle the DesignerActionUIStateChange event of a DesignerActionUIService.
Public delegateDesignerEventHandler Represents the method that will handle the DesignerCreated and DesignerDisposed events that are raised when a document is created or disposed of.
Public delegateDesignerTransactionCloseEventHandler Represents the method that handles the TransactionClosed and TransactionClosing events of a designer.
Public delegateDesignSurfaceEventHandler Represents the method that will handle the DesignSurfaceCreated event of a DesignSurfaceManager class. This class cannot be inherited.
Public delegateLoadedEventHandler Represents the method that will handle the Loaded event of the DesignSurface class. This class cannot be inherited.
Public delegateMenuCommandsChangedEventHandler Represents the method that will handle the MenuCommandsChanged event of a MenuCommandService. This class cannot be inherited.
Public delegateServiceCreatorCallback Provides a callback mechanism that can create an instance of a service on demand.
  EnumerationDescription
Public enumerationComponentActionsType Specifies the type of object-bound smart tag with respect to how it was associated with the component.
Public enumerationDesignerActionListsChangedType Specifies the type of change occurring in a collection of DesignerActionList objects.
Public enumerationDesignerActionUIStateChangeType Specifies the display state of a smart tag panel.
Public enumerationDisplayMode Defines identifiers that indicate the display modes used by ByteViewer.
Public enumerationHelpContextType Defines identifiers that indicate information about the context in which a request for Help information originated.
Public enumerationHelpKeywordType Defines identifiers that indicate the type of a Help keyword.
Public enumerationMenuCommandsChangedType Specifies the type of action that occurred to the related object's MenuCommands collection.
Public enumerationSelectionTypes Defines identifiers that indicate the type of a selection.
Public enumerationViewTechnology Defines identifiers for a set of technologies that designer hosts support.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker