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
- adorner
Type: System.Windows.DependencyObject
The adorner element to set the model for.
- 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