Skip to main content

DataGridComparerSortDescription Class

Definition

Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

public class DataGridComparerSortDescription : DataGridSortDescription
InheritanceObjectDataGridSortDescription → DataGridComparerSortDescription

Constructors

DataGridComparerSortDescription(IComparer, ListSortDirection)Initializes a new instance of the DataGridComparerSortDescription class

Properties

Comparer
(Overrides DataGridSortDescription.Comparer)
Direction
(Overrides DataGridSortDescription.Direction)
HasPropertyPath
(Inherited from DataGridSortDescription)
PropertyPath
(Inherited from DataGridSortDescription)
SourceComparer 

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
OrderBy(IEnumerable(Object))
(Inherited from DataGridSortDescription)
SwitchSortDirection()
(Overrides DataGridSortDescription.SwitchSortDirection())
ThenBy(IOrderedEnumerable(Object))
(Inherited from DataGridSortDescription)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Collections Namespace