Gets or sets a value indicating whether grouped items should be drawn sorted by their z-order while the whole group is being moved.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool SortGroupsByZ { get; set; } |
Visual Basic Copy Code |
---|
Public Property SortGroupsByZ As Boolean |
true if grouped items should be painted according to their z-order; otherwise, false. The default is false.
By default, while a group of nodes is being modified with the mouse, the grouped items are drawn in the order defined by the group hierarchy. For example, the group MainItem is drawn bellow all attached items, and if an attached item is the main item in another group, it is drawn below the next groups in the hierarchy. During this process, the ZIndex of items is ignored and the group appearance while it is being modified might differ from how it looks usually. The SortGroupsByZ property lets you override the default behavior and display items sorted by their z-order. Take heed if your application creates large hierarchies of groups - enabling that property might slow down the modification process.
NetDiagram Programmer's Guide | © 2023 MindFusion |