Gets or sets a value indicating whether the subordinated items in a group are automatically deleted if the group is destroyed.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool AutoDeleteItems { get; set; } |
Visual Basic Copy Code |
---|
Public Property AutoDeleteItems As Boolean |
true to delete subordinated items automatically; otherwise, false. The default is false.
A group is destroyed explicitly by calling the Remove method of the Groups collection. A group is destroyed implicitly when its MainItem is deleted.
If a group is destroyed and this property is disabled, all subordinated items remain intact in the diagram, however they are no longer grouped. If a group is destroyed and this property is enabled, all subordinated items are deleted.
WpfDiagram Programmer's Guide | © 2024 MindFusion |