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.
Classes
Class | Description | |
---|---|---|
AssemblyReferences | Infrastructure. A context item that maintains the set of references the designer is using to resolve type information. | |
ContextItem | Represents a single piece of state in the designer. | |
ContextItemManager | Maintains a set of context items. | |
EditingContext | Contains contextual state about a designer. | |
OrderToken | A generic class that identifies the sort order of hierarchical items. | |
RequirementAttribute | Defines attributes used by the RequirementValidator class. | |
RequirementSubscription | Provides a notification when changes in the editing context may have satisfied the attached requirement. | |
RequirementValidator | Determines whether the required context and services are available for the specified type. | |
RequiresContextItemAttribute | Indicates that the class relies on the specified context. | |
RequiresServiceAttribute | Indicates that the class relies on the specified service. | |
ServiceManager | Represents the behavior associated with an EditingContext. | |
ThumbnailAttribute | Associates an icon with a custom Windows Presentation Foundation (WPF) or Silverlight control in the toolbox for Visual Studio or Expression Blend. | |
ToolboxBrowsableAttribute | Specifies whether a control is visible in a designer's toolbox browser. |
Delegates
Delegate | Description | |
---|---|---|
PublishServiceCallback | A delegate that is called back when an object should publish an instance of a service. | |
PublishServiceCallback<ServiceType> | A generic delegate that is called back when an object should publish an instance of a service. | |
SubscribeContextCallback | Defines a callback method that is invoked when a context item changes. | |
SubscribeContextCallback<ContextItemType> | Defines a callback method that is invoked when a context item changes. | |
SubscribeServiceCallback | A delegate that is a callback for service subscriptions. | |
SubscribeServiceCallback<ServiceType> | A generic delegate that is a callback for service subscriptions. |
Enumerations
Enumeration | Description | |
---|---|---|
OrderTokenConflictResolution | An enumeration used to specify the winner of ordering ties. | |
OrderTokenPrecedence | An enumeration that specifies the precedence of order tokens. |