SortDescriptor Constructor (String, ListSortDirection)
Collapse the table of content
Expand the table of content

SortDescriptor Constructor (String, ListSortDirection)

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Initializes a new instance of the SortDescriptor class with the specified property to use for sorting, and the sort direction.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

public SortDescriptor(
	string propertyPath,
	ListSortDirection direction


Type: System.String
The sort property path.
Type: System.ComponentModel.ListSortDirection
The sort direction.
© 2015 Microsoft