AdornerOrder.CreateAbove Method
Creates a new adorner order that places the adorner above the provided reference in the z-order.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Function CreateAbove ( _
reference As AdornerOrder _
) As AdornerOrder
public static AdornerOrder CreateAbove(
AdornerOrder reference
)
public:
static AdornerOrder^ CreateAbove(
AdornerOrder^ reference
)
static member CreateAbove :
reference:AdornerOrder -> AdornerOrder
public static function CreateAbove(
reference : AdornerOrder
) : AdornerOrder
Parameters
- reference
Type: Microsoft.Windows.Design.Interaction.AdornerOrder
The AdornerOrder to place the adorner above.
Return Value
Type: Microsoft.Windows.Design.Interaction.AdornerOrder
A new AdornerOrder that places the adorner above adorners with the specified reference.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | reference 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