Export (0) Print
Expand All

Panel.GetZIndex Method

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

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

static member GetZIndex : 
        element:UIElement -> int

Parameters

element
Type: System.Windows.UIElement

The element for which to retrieve the ZIndex value.

Return Value

Type: System.Int32
The ZIndex position of the element.

ExceptionCondition
ArgumentNullException

The element is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft