Gets or sets the z-order position of this item.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public int ZIndex { get; set; } |
Visual Basic Copy Code |
---|
Public Property ZIndex As Integer |
An integer value specifying the position of the diagram item within the z-order. The default value is -1.
Use this property to arrange items in z-order. Items with lower ZIndex appear behind items with higher ZIndex.
If the ZIndex property of newly added items is equal to -1, the control will automatically assign consecutively increasing values to it. If you set ZIndex to a value greater then -1 before adding an item, the control will preserve it.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |