New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides contextual information about a group within a RadCollectionView control. This class is used as the binding context for RadCollectionViewGroupView instances and contains details about the group's structure, content, and expansion state.

Definition

Constructors

C#
public GroupContext()

Properties

Gets a value indicating whether this group is currently expanded, showing its child items in the collection view. When collapsed, the group's items are hidden but the group header remains visible.

C#
public bool IsExpanded { get; }

Gets the read-only collection of data items that belong to this group. This collection reflects the current state of the group and may change based on filtering and expansion state.

C#
public IReadOnlyList<object> Items { get; }

Gets the grouping key that was used to create this group. This is the value that all items in this group share for the grouped property.

C#
public object Key { get; }

Gets the zero-based nesting level (depth) of this group within the group hierarchy. Top-level groups have level 0, their nested groups have level 1, and so on.

C#
public int Level { get; }