ArcGIS Pro 2.8 API Reference Guide
GetZOrder Method

ArcGIS.Desktop.Layouts Namespace > Element Class : GetZOrder Method
Gets the Z order of the element relative to its parent
Syntax
public int GetZOrder()
Public Function GetZOrder() As Integer

Return Value

O based Z order index
Remarks
A z-order of 0 is equivalent to the bottom. A z-order equal to the number of child elements (minus 1) is equivalent to the top (relative to its parent.)
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Element Class
Element Members