

'DeclarationPublic NotInheritable Class Group
'UsageDim instance As Group
public sealed class Group
<Grid> <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:DataGridCollectionViewSource.GroupDescriptions> </xcdg:DataGridCollectionViewSource> <DataTemplate DataType="{x:Type xcdg:Group}"> <StackPanel Orientation="Horizontal"> <TextBlock Text="The "/> <TextBlock Text="{Binding Value}"/> <TextBlock Text=" group contains "/> <TextBlock Text="{Binding Items.Count}"/> <TextBlock Text=" items."/> </StackPanel> </DataTemplate> </Grid.Resources> <xcdg:DataGridControl x:Name="OrdersGrid" ItemsSource="{Binding Source={StaticResource cvs_orders}}"/> </Grid>
System.Object
Xceed.Wpf.DataGrid.Group
| Name | Description | |
|---|---|---|
![]() | GroupConfiguration | Gets the GroupConfiguration from which the group was created. |
![]() | IsBottomLevel | Gets a value indicating whether the group is in the last group level of the group hierarchy. |
![]() | IsExpanded | Gets or sets a value indicating whether the group is expanded. |
![]() | ItemCount | Gets the number of data items contained in the group. |
![]() | Level | Gets a value indicating the level of the group within the group hierarchy. |
![]() | ParentGroups | Gets a reference to the parent groups of the group. |
![]() | SiblingGroups | Gets a reference to the sibling groups of the group. |
![]() | StatContext | |
![]() | Title | Gets the data displayed in a group's associated GroupHeaderControl. |
![]() | TitleTemplate | Gets the DataTemplate used to display the Title's content. |
![]() | TitleTemplateSelector | Gets a DataTemplateSelector that provides a way to apply a different TitleTemplates based on custom logic. |
![]() | Value | Gets an object representing the value which caused the group to be created. |
![]() | ValueStringFormat | |
![]() | ValueStringFormatCulture | |
![]() | ValueTemplate | Gets the DataTemplate used to display the group's Value. |
![]() | ValueTemplateSelector | Gets a DataTemplateSelector that provides a way to apply a different ValueTemplate based on custom logic. |
| Name | Description | |
|---|---|---|
![]() | GetItems | Retrieves the items for the specified Group. |
![]() | GetLeafItems | |
![]() | GetRange |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Raised when the value of a property changes. |
.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.