ClassGroupHeaderContext
Represents the context that is passed to a ListViewGroupHeaderCell control that represents a group within a RadListView instance.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly:Telerik.Maui.Controls.Compatibility.dll
Syntax:
public class GroupHeaderContext : INotifyPropertyChanged
Inheritance: objectGroupHeaderContext
Implements:
Properties
IsExpanded
Gets or sets a value indicating whether the group is currently expanded (has its child items visible).
Declaration
public bool IsExpanded { get; set; }
Property Value
true
if the group is expanded; otherwise, false
.
Items
Gets the child items of the group.
Declaration
public IReadOnlyList<object> Items { get; }
Property Value
A read-only list of child items in the group.
Key
Gets the specific for the group key.
Declaration
public object Key { get; }
Property Value
The key object for the group.
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
A string representation of the group key, or an empty string if the key is null.
Overrides
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements
Operators
implicit operator string(GroupHeaderContext)
Defines an implicit conversion from GroupHeaderContext to string.
Declaration
public static implicit operator string(GroupHeaderContext context)
Parameters
context
The GroupHeaderContext to convert.
Returns
The string representation of the context.