Editar

Partilhar via


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

The element for which to retrieve the ZIndex value.

Returns

The ZIndex position of the element.

Exceptions

The element is null.

Applies to

See also