Share via


AdornerProperties.SetOrder Method

Sets the relative z-order of the specified adorner.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Sub SetOrder ( _
    adorner As DependencyObject, _
    value As AdornerOrder _
)
public static void SetOrder(
    DependencyObject adorner,
    AdornerOrder value
)
public:
static void SetOrder(
    DependencyObject^ adorner, 
    AdornerOrder^ value
)
static member SetOrder : 
        adorner:DependencyObject * 
        value:AdornerOrder -> unit 
public static function SetOrder(
    adorner : DependencyObject, 
    value : AdornerOrder
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

adorner is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

AdornerProperties Class

Microsoft.Windows.Design.Interaction Namespace

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture