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<TContextItemType> 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. | |
DataContextValueSourceAttribute | Enables a designer to determine the data context inheritance in the visual tree for a particular property. | |
DisplayPropertyAttribute | Determines the property to use when displaying an instance of an object in a designer. | |
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. | |
ToolboxCategoryAttribute | Specifies the category in which a class appears in a designer's toolbox. | |
ToolboxExampleAttribute | Infrastructure. Specifies the type that implements the IToolboxExampleFactory interface. | |
ToolboxTabNameAttribute | Specifies the tab in which a class appears in a designer's toolbox. |
Interfaces
Interface | Description | |
---|---|---|
IToolboxExample | Infrastructure. Specifies an example instance of an item in the toolbox of a visual designer. | |
IToolboxExampleFactory | Infrastructure. Provides a list of examples in an asset toolbox that reference the same Type. |
Delegates
Delegate | Description | |
---|---|---|
PublishServiceCallback | A delegate that is called back when an object should publish an instance of a service. | |
PublishServiceCallback<TServiceType> | 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<TContextItemType> | Defines a callback method that is invoked when a context item changes. | |
SubscribeServiceCallback | A delegate that is a callback for service subscriptions. | |
SubscribeServiceCallback<TServiceType> | 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. |