New to Telerik UI for WinForms? Start a free 30-day trial

Creates data-view groups and keeps the owning tree map's generated groups synchronized with them.

Definition

Namespace:Telerik.WinControls.UI.TreeMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TreeMapGroupFactory : IGroupFactory<TreeMapDataItem>

Inheritance: objectTreeMapGroupFactory

Implements: IGroupFactory<TreeMapDataItem>

Constructors

Initializes a group factory for the specified tree map element.

C#
public TreeMapGroupFactory(RadTreeMapElement owner)
Parameters:ownerRadTreeMapElement

The element whose generated groups are synchronized with the data view.

Methods

Synchronizes generated tree map groups with the supplied data-view groups and wraps the list.

C#
public GroupCollection<TreeMapDataItem> CreateCollection(IList<Group<TreeMapDataItem>> list)
Parameters:listIList<Group<TreeMapDataItem>>

The data-view groups to expose.

Returns:

GroupCollection<TreeMapDataItem>

A collection over list after the tree map groups have been reconciled.

Implements: IGroupFactory<TreeMapDataItem>.CreateCollection(IList<Group<TreeMapDataItem>>)

Creates a data-view group associated with the specified key and parent.

C#
public Group<TreeMapDataItem> CreateGroup(object key, Group<TreeMapDataItem> parent, params object[] metaData)
Parameters:keyobject

The key that identifies the group in the data view.

parentGroup<TreeMapDataItem>

The parent data-view group, or null for a root group.

metaDataobject[]

Additional grouping metadata; this factory does not use it.

Returns:

Group<TreeMapDataItem>

A group that also maintains the corresponding tree map group.

Implements: IGroupFactory<TreeMapDataItem>.CreateGroup(object, Group<TreeMapDataItem>, params object[])