Class GroupDescriptorBase
Provides a base class for group descriptors that implement key-based grouping functionality.
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public abstract class GroupDescriptorBase : OrderedDescriptorBase, IChildElement, IComparer, IComparer<object>, IKeyLookup
Constructors
GroupDescriptorBase()
Declaration
protected GroupDescriptorBase()
Methods
GetDefaultKey(Object)
Gets the default key for the specified item when no custom key extraction is needed.
Declaration
protected virtual object GetDefaultKey(object item)
Parameters
System.Object
item
The item to get the default key for. |
Returns
System.Object
The item itself as the default key. |
GetKey(Object)
Gets the key for the specified item used for grouping.
Declaration
public object GetKey(object item)
Parameters
System.Object
item
The item to get the key for. |
Returns
System.Object
The key object used for grouping. |
Implements
GetKeyCore(Object)
When implemented in a derived class, provides the core logic for extracting the grouping key from an item.
Declaration
protected abstract object GetKeyCore(object item)
Parameters
System.Object
item
The item to extract the key from. |
Returns
System.Object
The key object used for grouping. |