

'DeclarationPublic Class DataGridGroupDescription Inherits System.ComponentModel.GroupDescription
'UsageDim instance As DataGridGroupDescription
public class DataGridGroupDescription : System.ComponentModel.GroupDescription
This class is used by the DataGridCollectionView class to group items; however, it can also be used by the standard CollectionView class.
The use of the GroupNames property is not supported by the DataGridGroupDescription class.
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"> <Grid.Resources> <xcdg:DataGridCollectionViewSource x:Key="cvs_orders" Source="{Binding Source={x:Static Application.Current}, Path=Orders}"> <xcdg:DataGridCollectionViewSource.GroupDescriptions> <xcdg:DataGridGroupDescription PropertyName="ShipCountry"/> <xcdg:DataGridGroupDescription PropertyName="ShipCity"/> </xcdg:DataGridCollectionViewSource.GroupDescriptions> </xcdg:DataGridCollectionViewSource> </Grid.Resources> <xcdg:DataGridControl x:Name="OrdersGrid" ItemsSource="{Binding Source={StaticResource cvs_orders}}"> </xcdg:DataGridControl> </Grid>
System.Object
System.ComponentModel.GroupDescription
Xceed.Wpf.DataGrid.DataGridGroupDescription
| Name | Description | |
|---|---|---|
![]() | DataGridGroupDescription Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | CustomSort | (Inherited from System.ComponentModel.GroupDescription) |
![]() | GroupConfiguration | Gets or sets the group configuration that will be applied to the groups created by this group description. |
![]() | GroupNames | (Inherited from System.ComponentModel.GroupDescription) |
![]() | PropertyName | Gets or sets the name of the property that is used to determine which group an item belongs to. |
![]() | SortComparer | Gets or sets the data comparer that will be used to sort the groups in a grid. |
![]() | SortDescriptions | (Inherited from System.ComponentModel.GroupDescription) |
| Name | Description | |
|---|---|---|
![]() | GroupNameFromItem | Overridden. Retrieves the group name for the specified item. |
![]() | NamesMatch | Overridden. Returns a value indicating whether the group name and the item name match, which means that the item belongs to the group. |
| Name | Description | |
|---|---|---|
![]() | GetPropertyValue | Retrieves the property value for the specified item. |
![]() | OnPropertyChanged | (Inherited from System.ComponentModel.GroupDescription) |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | (Inherited from System.ComponentModel.GroupDescription) |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.