Class ListViewDelegateGroupDescriptor
Represents a group descriptor that uses a delegate function to extract grouping keys from items.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class ListViewDelegateGroupDescriptor : GroupDescriptorBase, IChildElement, IComparer, IComparer<object>, IKeyLookup
Constructors
ListViewDelegateGroupDescriptor()
Declaration
public ListViewDelegateGroupDescriptor()
Fields
KeyExtractorProperty
Identifies the KeyExtractor bindable property.
Declaration
public static readonly BindableProperty KeyExtractorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
KeyExtractor
Gets or sets the function used to extract grouping keys from items.
Declaration
public Func<object, object> KeyExtractor { get; set; }
Property Value
System.Func<System.Object, System.Object>
A System.Func<, > that takes an object and returns the grouping key. |
Methods
GetDescriptorCollection(RadListView)
Gets the descriptor collection from the specified list view.
Declaration
protected override IList GetDescriptorCollection(RadListView listView)
Parameters
RadListView
listView
The RadListView instance. |
Returns
System.Collections.IList
The group descriptors collection as System.Collections.IList. |
Overrides
GetKeyCore(Object)
Extracts the grouping key from the specified item using the custom key extractor.
Declaration
protected override object GetKeyCore(object item)
Parameters
System.Object
item
The item to extract the key from. |
Returns
System.Object
The grouping key for the item. |