AdornerProperties Class
Defines a set of attached properties for a UI element to enable adorner appearance and behavior.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Interaction.AdornerProperties
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public NotInheritable Class AdornerProperties
public static class AdornerProperties
public ref class AdornerProperties abstract sealed
[<AbstractClass>]
[<Sealed>]
type AdornerProperties = class end
public final class AdornerProperties
The AdornerProperties type exposes the following members.
Attached Properties
Name | Description | |
---|---|---|
Layout | Gets a layout that is used to arrange the adorner with regard to its model or view. This is an attached property. | |
Model | Gets the model item associated with the adorner. This is an attached property. | |
Order | Gets the relative z-order of the adorner. This is an attached property. | |
RenderTransform | Gets or sets the render transform for the adorner. This is an attached property. | |
Task | Gets the task for the specified adorner. This is an attached property. |
Top
Methods
Name | Description | |
---|---|---|
GetLayout | Gets a layout that is used to arrange the adorner with regard to its model or view. | |
GetModel | Gets the model item associated with the specified adorner. | |
GetOrder | Gets the relative z-order of the specified adorner. | |
GetRenderTransform | Gets the render transform for the adorner. | |
GetTask | Gets the task for the specified adorner. | |
GetView | Gets the view for the specified adorner. | |
SetLayout | Sets the layout for the specified adorner. | |
SetModel | Sets the model item associated with the specified adorner. | |
SetOrder | Sets the relative z-order of the specified adorner. | |
SetRenderTransform | ||
SetTask | Sets the task for the specified adorner. |
Top
Fields
Name | Description | |
---|---|---|
LayoutProperty | Identifies the Layout attached property. | |
ModelProperty | Identifies the Model attached property. | |
OrderProperty | Identifies the Order attached property. | |
RenderTransformProperty | Identifies the RenderTransform attached property. | |
TaskProperty | Identifies the Task attached property. |
Top
Remarks
The AdornerProperties class defines a set of attached properties for a UIElement when it is used as an adorner. You can add a UIElement with these attached properties to the Adorners collection of the DesignerView class. The properties can be set at any time and the adorner updates accordingly.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace