Class PropertySortDescription
Defines a property and direction to sort a list by.
Inheritance
System.Object
PropertySortDescription
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public class PropertySortDescription
Constructors
| Improve this Doc View SourcePropertySortDescription(String, ListSortDirection, IComparer)
Declaration
public PropertySortDescription(string propertyName, ListSortDirection direction, IComparer comparer = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.ComponentModel.ListSortDirection | direction | |
System.Collections.IComparer | comparer |
Properties
| Improve this Doc View SourceComparer
Declaration
public IComparer Comparer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IComparer |
Direction
Declaration
public ListSortDirection Direction { get; }
Property Value
Type | Description |
---|---|
System.ComponentModel.ListSortDirection |
PropertyName
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String |