This documentation is archived and is not being maintained.

Microsoft.Windows.Design Namespace

Provides basic foundation for any designer through a service and data backplane, and through manipulation of metadata.

The Microsoft.Windows.Design namespace provides classes for managing state in a designer. State is represented by the ContextItem class. Behavior is specified by services, which are managed by a ServiceManager. The EditingContext holds all the designer's state information. Use the SubscribeContextCallback<ContextItemType> to be notified when a context item changes.

  ClassDescription
Public classAssemblyReferencesInfrastructure. A context item that maintains the set of references the designer is using to resolve type information.
Public classContextItemRepresents a single piece of state in the designer.
Public classContextItemManagerMaintains a set of context items.
Public classEditingContextContains contextual state about a designer.
Public classOrderTokenA generic class that identifies the sort order of hierarchical items.
Public classRequirementAttributeDefines attributes used by the RequirementValidator class.
Public classRequirementSubscriptionProvides a notification when changes in the editing context may have satisfied the attached requirement.
Public classRequirementValidatorDetermines whether the required context and services are available for the specified type.
Public classRequiresContextItemAttributeIndicates that the class relies on the specified context.
Public classRequiresServiceAttributeIndicates that the class relies on the specified service.
Public classServiceManagerRepresents the behavior associated with an EditingContext.
Public classThumbnailAttributeAssociates an icon with a custom Windows Presentation Foundation (WPF) or Silverlight control in the toolbox for Visual Studio or Expression Blend. 
Public classToolboxBrowsableAttributeSpecifies whether a control is visible in a designer's toolbox browser.

  DelegateDescription
Public delegatePublishServiceCallbackA delegate that is called back when an object should publish an instance of a service.
Public delegatePublishServiceCallback<ServiceType>A generic delegate that is called back when an object should publish an instance of a service.
Public delegateSubscribeContextCallbackDefines a callback method that is invoked when a context item changes.
Public delegateSubscribeContextCallback<ContextItemType>Defines a callback method that is invoked when a context item changes.
Public delegateSubscribeServiceCallbackA delegate that is a callback for service subscriptions.
Public delegateSubscribeServiceCallback<ServiceType>A generic delegate that is a callback for service subscriptions.

  EnumerationDescription
Public enumerationOrderTokenConflictResolutionAn enumeration used to specify the winner of ordering ties.
Public enumerationOrderTokenPrecedenceAn enumeration that specifies the precedence of order tokens.
Show: