ASP.NET Pack Programmer's Guide
DiagramItem.ZIndex Property
See Also
 





Gets or sets the z-order position of this item.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public int ZIndex { get; set; }

Visual Basic  Copy Code

Public Property ZIndex As Integer

 Property Value

An integer value specifying the position of the diagram item within the z-order. The default value is -1.

 Remarks

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.

 See Also

DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace
ZLevelDown Method
ZBottom Method
ZLevelUp Method
ZTop Method
LayerIndex Property