Search
Group Members
Constructors Properties Methods
 


Represents a group of items in the diagram document.

The following tables list the members exposed by the Group type.

 Public Constructors

  Name Description

Group

Overloaded. Initializes a new instance of the Group class.

 Public Properties

  Name Description

AttachedNodes

Gets a collection of the nodes attached to this group.

AutoDeleteItems

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

Expandable

Gets or sets a value indicating whether expanding/collapsing a tree branch propagates through this group.

FollowMasterContainment

Gets or sets a value indicating whether the subordinated items should be considered by a ContainerNode when the master item is added to the container.

FollowMasterRotation

Gets or sets a value indicating whether attached nodes position should follow the RotationAngle of a master node.

MainItem

Gets or sets the main item of this group.

Tag

Gets or sets a custom data associated with the group.

Visible

Gets or sets a value indicating whether the group is visible.

 Public Methods

  Name Description

AttachAlongLinkLength

Attaches a node to a link and keeps the initial distance between the node and the link origin when the latter is modified. The distance is measured along the link length, regardless of the number and shape of its segments.

AttachCustom

Attaches a new node to the group.

AttachProportional

Attaches a new node to the group, in such a way that its area is always occupying certain percentage of the main item's area.

AttachToCorner

Attaches a node to the specified corner of the main node.

AttachToEdges

Anchors a node to the specified edges of the master node.

AttachToFractionalPosition

Attaches specified node to this group, keeping original size intact and maintaining original distance to point specified as fraction of main node's size.

AttachToLinkPoint

Attaches a node to the specified control point of the link that is MainItem.

AttachToLinkSegment

Attaches a node to the specified segment of the link that is MainItem.

AttachToLongestHSegment

Adds an item to the group, maintaining its relative position to the longest horizontal segment of the master link.

AttachToSideMiddle

Adds an item to the group, attaching it to the middle point of a side of the master node.

Detach

Detaches the specified item from this group.

GetRepaintRect

Gets a rectangle containing the repaint rectangle of the group's master and all attached objects.

 See Also