Class GroupContext
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.
Inherited Members
Namespace: Telerik.Maui.Controls.CollectionView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class GroupContext : NotifyPropertyChangedBase, INotifyPropertyChanged
Constructors
GroupContext()
Declaration
public GroupContext()
Properties
IsExpanded
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.
Declaration
public bool IsExpanded { get; }
Property Value
System.Boolean
|
Items
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.
Declaration
public IReadOnlyList<object> Items { get; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Object>
|
Key
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.
Declaration
public object Key { get; }
Property Value
System.Object
|
Level
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.
Declaration
public int Level { get; }
Property Value
System.Int32
|