Class GroupHeaderContext
Represents the context that is passed to a ListViewGroupHeaderCell control that represents a group within a RadListView instance.
Inheritance
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class GroupHeaderContext : Object, INotifyPropertyChanged
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
System.Boolean
|
Items
Gets the child items of the group.
Declaration
public IReadOnlyList<object> Items { get; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Object>
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
System.Object
The key object for the group. |
Level
Gets the zero-based level (or the depth) of the group.
Declaration
public int Level { get; }
Property Value
System.Int32
The level of the group in the hierarchy. |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
System.String
A string representation of the group key, or an empty string if the key is null. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
Operators
Implicit(GroupHeaderContext to String)
Defines an implicit conversion from GroupHeaderContext to System.String.
Declaration
public static implicit operator string (GroupHeaderContext context)
Parameters
GroupHeaderContext
context
The GroupHeaderContext to convert. |
Returns
System.String
The string representation of the context. |