Export (0) Print
Expand All

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public:
property SortDescriptionCollection^ SortDescriptions {
	SortDescriptionCollection^ get ();
}
<object>
  <object.SortDescriptions>
    oneOrMoreSortDescriptions
  </object.SortDescriptions>
</object>

XAML Values

oneOrMoreSortDescriptions

One or more SortDescription elements.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft