SortDescriptions Property

CollectionViewSource::SortDescriptions Property

 

Gets or sets a collection of SortDescription objects that describes how the items in the collection are sorted in the view.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property SortDescriptionCollection^ SortDescriptions {
	SortDescriptionCollection^ get();
}

Property Value

Type: System.ComponentModel::SortDescriptionCollection^

A collection of SortDescription objects that describes how the items in the collection are sorted in the view.

This property is forwarded to any collection view created from the current source.

<object>
  <object.SortDescriptions>
    oneOrMoreSortDescriptions
  </object.SortDescriptions>
</object>

oneOrMoreSortDescriptions

One or more SortDescription elements.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft