Class OrderedDescriptorBase
Provides a base class for descriptors that support ordering operations, implementing both System.Collections.IComparer and System.Collections.Generic.IComparer<> interfaces.
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public abstract class OrderedDescriptorBase : DataDescriptorBase, IChildElement, IComparer, IComparer<object>
Constructors
OrderedDescriptorBase()
Declaration
protected OrderedDescriptorBase()
Fields
SortOrderProperty
Identifies the SortOrder bindable property.
Declaration
public static readonly BindableProperty SortOrderProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
SortOrder
Gets or sets the sort order for the descriptor.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
SortOrder
The sort order as SortOrder. |
Methods
Compare(Object, Object)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(object x, object y)
Parameters
System.Object
x
The first object to compare. |
System.Object
y
The second object to compare. |
Returns
System.Int32
A signed integer that indicates the relative values of x and y. |
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. |