Export (0) Print
Expand All

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
)

Parameters

propertyPath
Type: System.String
The sort property path.
direction
Type: System.ComponentModel.ListSortDirection
The sort direction.
Show:
© 2014 Microsoft