Class ListViewPropertySortDescriptor
Represents a sort descriptor that sorts items based on a specific property.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class ListViewPropertySortDescriptor : SortDescriptorBase, IChildElement, IComparer, IComparer<object>
Constructors
ListViewPropertySortDescriptor()
Declaration
public ListViewPropertySortDescriptor()
Fields
PropertyNameProperty
Identifies the PropertyName property.
Declaration
public static readonly BindableProperty PropertyNameProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
PropertyName
Gets or sets the name of the property used for sorting.
Declaration
public string PropertyName { get; set; }
Property Value
System.String
A System.String representing the property name. |
Methods
GetDescriptorCollection(RadListView)
Gets the descriptor collection from the specified ListView.
Declaration
protected override IList GetDescriptorCollection(RadListView listView)
Parameters
RadListView
listView
The RadListView to get descriptors from. |
Returns
System.Collections.IList
An System.Collections.IList containing the sort descriptors. |
Overrides
OnPropertyChanged(String)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
The name of the property that changed. |