Share via


AdornerProperties.GetOrder Method

Gets 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 Function GetOrder ( _
    adorner As DependencyObject _
) As AdornerOrder
public static AdornerOrder GetOrder(
    DependencyObject adorner
)
public:
static AdornerOrder^ GetOrder(
    DependencyObject^ adorner
)
static member GetOrder : 
        adorner:DependencyObject -> AdornerOrder 
public static function GetOrder(
    adorner : DependencyObject
) : AdornerOrder

Parameters

Return Value

Type: Microsoft.Windows.Design.Interaction.AdornerOrder
An AdornerOrder specifying the relative z-order of adorner.

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

AdornerOrder

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture