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.
Definition
Namespace:Telerik.Maui.Controls.CollectionView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class GroupContext : NotifyPropertyChangedBase, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseGroupContext
Implements:
Inherited Members
Constructors
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.
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.
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.
public object Key { get; }