Share via


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
Public attached property Layout Gets a layout that is used to arrange the adorner with regard to its model or view. This is an attached property.
Public attached property Model Gets the model item associated with the adorner. This is an attached property.
Public attached property Order Gets the relative z-order of the adorner. This is an attached property.
Public attached property RenderTransform Gets or sets the render transform for the adorner. This is an attached property.
Public attached property Task Gets the task for the specified adorner. This is an attached property.

Top

Methods

  Name Description
Public methodStatic member GetLayout Gets a layout that is used to arrange the adorner with regard to its model or view.
Public methodStatic member GetModel Gets the model item associated with the specified adorner.
Public methodStatic member GetOrder Gets the relative z-order of the specified adorner.
Public methodStatic member GetRenderTransform Gets the render transform for the adorner.
Public methodStatic member GetTask Gets the task for the specified adorner.
Public methodStatic member GetView Gets the view for the specified adorner.
Public methodStatic member SetLayout Sets the layout for the specified adorner.
Public methodStatic member SetModel Sets the model item associated with the specified adorner.
Public methodStatic member SetOrder Sets the relative z-order of the specified adorner.
Public methodStatic member SetRenderTransform
Public methodStatic member SetTask Sets the task for the specified adorner.

Top

Fields

  Name Description
Public fieldStatic member LayoutProperty Identifies the Layout attached property.
Public fieldStatic member ModelProperty Identifies the Model attached property.
Public fieldStatic member OrderProperty Identifies the Order attached property.
Public fieldStatic member RenderTransformProperty Identifies the RenderTransform attached property.
Public fieldStatic member 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

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture