'Declaration Public Class DataGridGroupDescription Inherits System.ComponentModel.GroupDescription
'Usage Dim instance As DataGridGroupDescription
public class DataGridGroupDescription : System.ComponentModel.GroupDescription
'Declaration Public Class DataGridGroupDescription Inherits System.ComponentModel.GroupDescription
'Usage Dim 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) |
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