Bearbeiten

Freigeben über


CollectionViewSource.SortDescriptions Property

Definition

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

public:
 property System::ComponentModel::SortDescriptionCollection ^ SortDescriptions { System::ComponentModel::SortDescriptionCollection ^ get(); };
public System.ComponentModel.SortDescriptionCollection SortDescriptions { get; }
member this.SortDescriptions : System.ComponentModel.SortDescriptionCollection
Public ReadOnly Property SortDescriptions As SortDescriptionCollection

Property Value

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

Remarks

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

XAML Property Element Usage

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

XAML Values

oneOrMoreSortDescriptions One or more SortDescription elements.

Applies to