GoXam for WPF v3
Group Method
Northwoods.GoXam Namespace > CommandHandler Class : Group Method
Create a new group node and add the selected parts to that new group.
Syntax
public virtual void Group()
Remarks
This creates a new group node by adding a copy of the PrototypeGroup data to the model, which must support the Northwoods.GoXam.Model.ISubGraphModel interface. Each of the selected nodes for which Part.CanGroup is true is made a member of that new group node. If all of the selected groupable nodes were members of a pre-existing group node, the new group node also becomes a member of that pre-existing group. The new group node becomes the only selected part. This also raises the SelectionGrouped. All of the changes are performed in an undoable edit.
See Also

Reference

CommandHandler Class
CommandHandler Members