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
- adorner
Type: System.Windows.DependencyObject
The adorner element to retrieve the order for.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace