Modifica

Condividi tramite


CollectionViewSource.GroupDescriptions Property

Definition

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

public:
 property System::Collections::ObjectModel::ObservableCollection<System::ComponentModel::GroupDescription ^> ^ GroupDescriptions { System::Collections::ObjectModel::ObservableCollection<System::ComponentModel::GroupDescription ^> ^ get(); };
public System.Collections.ObjectModel.ObservableCollection<System.ComponentModel.GroupDescription> GroupDescriptions { get; }
member this.GroupDescriptions : System.Collections.ObjectModel.ObservableCollection<System.ComponentModel.GroupDescription>
Public ReadOnly Property GroupDescriptions As ObservableCollection(Of GroupDescription)

Property Value

An ObservableCollection<T> of GroupDescription objects that describes how the items in the collection are grouped in the view.

Remarks

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

XAML Property Element Usage

<object>
  <object.GroupDescriptions>
    oneOrMorePropertyDescriptions
  </object.GroupDescriptions>
</object>

XAML Values

oneOrMorePropertyDescriptions One or more elements that derive from the GroupDescriptions abstract class. Typically this is a PropertyGroupDescription.

Applies to