Version

ZIndex Property (DiagramItem)

Gets or sets a value that represents the order on the z-plane in which the diagram item appears.
Syntax
'Declaration
 
Public Property ZIndex As Integer
public int ZIndex {get; set;}
Remarks
The value of this property determines the index at which the item is inserted in the diagram panel's children collection. The property is meant to act as a global ZIndex for all Diagram Items in the XamDiagram, mimicking WPF visual tree's behavior (not Visio's local/selected only arrangement). The Panel.Zindex attached property always takes precedence over the value of this property. In order to improve performance avoid using Panel.Zindex.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also