ItemCollection.GroupDescriptions Property

Gets a collection of GroupDescription objects that defines how to group the items.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public override ObservableCollection<GroupDescription> GroupDescriptions { get; }
/** @property */
public ObservableCollection<GroupDescription> get_GroupDescriptions ()

public override function get GroupDescriptions () : ObservableCollection<GroupDescription>

You cannot use this property in XAML.

Property Value

An ObservableCollection of GroupDescription objects. The collection is indexed by the group levels.

Use the CanGroup property to test whether the current implementation supports grouping before adding GroupDescription objects.

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.

For a related example, see PropertyGroupDescription.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: