Share via


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

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

See Also

Reference

AdornerOrder Class

Microsoft.Windows.Design.Interaction Namespace

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture