Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : GroupDescriptions Property |
'Declaration Public ReadOnly Property GroupDescriptions As ObservableCollection(Of GroupDescription)
'Usage Dim instance As DataGridControl Dim value As ObservableCollection(Of GroupDescription) value = instance.GroupDescriptions
public ObservableCollection<GroupDescription> GroupDescriptions {get;}
Each group description (see DataGridGroupDescription class) that is added to the GroupDescriptions collection represents one group level. By changing the group descriptions contained in the GroupDescriptions collection, either programmatically or through end-user interactions with a GroupByControl, group levels can be added to or removed from a grid.
Whenever groups are created from the values of a column, those same values will automatically be sorted in ascending order; however, a SortDescription object will not be added to the SortDescriptions collection.
<sldg:DataGridControl.GroupDescriptions> <sldg:DataGridGroupDescription PropertyName="ShipCountry" /> <sldg:DataGridGroupDescription PropertyName="ShipCity" /> </sldg:DataGridControl.GroupDescriptions>
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family