GroupExtensions
Class
Extensions on the IGroup interface.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
C#
public static class GroupExtensions
Inheritance: objectGroupExtensions
Methods
Adds to group.
C#
public static void AddToGroup(this IGroup group, params IGroupable[] items)
The group.
itemsIGroupable[]The items.
Returns whether the group contains in its hierarchy the given item.
C#
public static bool Contains(this IGroup group, IDiagramItem item)
The group.
itemIDiagramItemThe item to test for.
Returns:Gets the bounds of a specific group.
Gets the items.
C#
public static IEnumerable<IGroup> GetGroups(this IGroup group)
The group.
Returns:Gets the items.
C#
public static IEnumerable<IDiagramItem> GetItems(this IGroup group)
The group.
Returns:Gets all the items insider the specific group.
C#
public static IEnumerable<IDiagramItem> GetItemsRecursively(this IGroup group)
Gets all the items inside the specific group.
C#
public static IEnumerable<IGroupable> GetSingleItems(this IGroup group)
The group.
Returns:Gets the first (lowest in the hierarchy) group which groups both given shapes.
C#
public static IGroup GetSupremumGroup(this IGroupable item1, IDiagramItem item2)
A diagram item.
item2IDiagramItemAnother diagram item.
Returns:Removes from group.
C#
public static void RemoveFromGroup(this IGroup group, params IGroupable[] items)
The group.
itemsIGroupable[]The items.