Panel.GetZIndex(UIElement) Panel.GetZIndex(UIElement) Panel.GetZIndex(UIElement) Panel.GetZIndex(UIElement) Method

Definition

Gets the value of the ZIndex property for a given element.

public:
 static int GetZIndex(System::Windows::UIElement ^ element);
public static int GetZIndex (System.Windows.UIElement element);
static member GetZIndex : System.Windows.UIElement -> int
Public Shared Function GetZIndex (element As UIElement) As Integer

Parameters

element
UIElement UIElement UIElement UIElement

The element for which to retrieve the ZIndex value.

Returns

The ZIndex position of the element.

Exceptions

Applies to

See also