Represents a control that displays hierarchical information about how the data items in a grid and any of its child details are grouped and sorted as well as allows the end user to change how the items are grouped and sorted.
All examples in this topic assume that the grid is bound to the Orders table of the Northwind database, unless stated otherwise.
The following example demonstrates how to provide an implicit style targeting the HierarchicalGroupByControl class that changes the value of the NoGroupContent property to display Hello World rather than Drag a column header hear to group by that column..
Gets or sets a value indicating whether modifications to groups in the corresponding grid or detail can be made by the end user through the group-by control.
Gets or sets a value indicating whether the sort direction of the columns in the corresponding grid or detail can be modified by the end user through the group-by control.
Gets a value indicating whether the hierarchical group-by control contains group-by items, which display information about the groups that exist in the corresponding grid or detail.
When deriving from the HierarchicalGroupByControl class, PrepareDefaultStyleKey must be overridden in order to support dynamic style (view or theme modifications) 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