Export (0) Print
Expand All

ItemCollection::SortDescriptions Property

Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.

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

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

Property Value

Type: System.ComponentModel::SortDescriptionCollection
A collection of SortDescription objects that describe how the items in the collection are sorted in the view.

Implements

ICollectionView::SortDescriptions

Use the CanSort property to test whether the current implementation supports sorting before adding SortDescription objects to the SortDescriptionCollection.

NoteNote

This property can be set only by accessing the collection object and using its various methods, such as Add. The property to access the collection object is read-only, while the collection itself is read-write.

.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