Xceed Toolkit Plus for WPF v4.6 Documentation
GroupDescriptions Property (ListBox)
Example 


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace > ListBox Class : GroupDescriptions Property
Gets a collection of group descriptions that describe how the items in a listbox are grouped.
Syntax
'Declaration
 
Public ReadOnly Property GroupDescriptions As ObservableCollection(Of GroupDescription)
'Usage
 
Dim instance As ListBox

Dim value As ObservableCollection(Of GroupDescription)

 

value = instance.GroupDescriptions
public ObservableCollection<GroupDescription> GroupDescriptions {get;}

Property Value

A generic ObservableCollection of GroupDescription objects that describe how the items in a listbox are grouped.
Remarks

Each group description that is added to the GroupDescriptions collection represents one group level. By changing the group descriptions contained in the GroupDescriptions collection, group levels can be added to or removed from a listbox.

Example
<sllb:ListBox.GroupDescriptions>

	<PropertyGroupDescription PropertyName="EmployeeID"/>

</sllb:ListBox.GroupDescriptions>
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListBox Class
ListBox Members