Lenguaje

Panel.GetZIndex(UIElement) Método

Definición

Obtiene el valor de la ZIndex propiedad de un elemento determinado.

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

Parámetros

element
UIElement

Elemento para el que se va a recuperar el ZIndex valor.

Devoluciones

Posición ZIndex del elemento.

Excepciones

El elemento es null.

Se aplica a

Consulte también