'Declaration Public NotInheritable Class Group
'Usage Dim instance As Group
public sealed class Group
'Declaration Public NotInheritable Class Group
'Usage Dim 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. |
![]() | SelectionState | |
![]() | SiblingGroups | Gets a reference to the sibling groups of the group. |
![]() | StatContext | Gets the context from which a statistical function retrieves the values needed to calculate its result, and that exposes the results as properties that have the same names as the functions' ResultPropertyName properties. |
![]() | 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 | Gets the format used for the content of the group header. This can also impact the format of the data during export or when copying to the clipboard. |
![]() | 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 | |
---|---|---|
![]() | InvalidateSelectionState |
Name | Description | |
---|---|---|
![]() | GetItems | Retrieves the items for the specified Group. |
![]() | GetLeafItems | |
![]() | GetRange |
Name | Description | |
---|---|---|
![]() | PropertyChanged | Raised when the value of a property changes. |
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