Search
Group.AutoDeleteItems Property
See Also
 





Gets or sets a value indicating whether the subordinated items in a group are automatically deleted if the group is destroyed.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool AutoDeleteItems { get; set; }

Visual Basic  Copy Code

Public Property AutoDeleteItems As Boolean

 Property Value

true to delete subordinated items automatically; otherwise, false. The default is false.

 Remarks

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.

 See Also