NetDiagram Programmer's Guide
DiagramNode.MasterGroup Property
See Also

Gets a reference to the group to which this node is attached.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public Group MasterGroup { get; }

Visual Basic  Copy Code

Public ReadOnly Property MasterGroup As Group

 Property Value

A reference to a Group object or null (Nothing in Visual Basic) if the node is not attached to a group.


Diagram items can be grouped hierarchically in such a manner, that if an item is moved all of its subordinated items in the hierarchy move too. The immediate subordinates of an item are contained and represented by a Group instance. This property provides access to the group that contains the item as a subordinate. If the item is not a subordinate of another, the property returns null (Nothing in Visual Basic).

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace
SubordinateGroup Property
Factory.CreateGroup Method
Query Method