| Visual Basic (Declaration) | |
|---|---|
<TemplatePartAttribute(Name="PART_HierarchicalGroupByControlTreeView", Type=System.Windows.Controls.TreeView)> Public Class HierarchicalGroupByControl Inherits Control Implements INotifyPropertyChanged, ISupportInitialize, IFrameworkInputElement, IInputElement, IHaveResources, IAnimatable, DUCE.IResource, IDropTarget | |
| C# | |
|---|---|
[TemplatePartAttribute(Name="PART_HierarchicalGroupByControlTreeView", Type=System.Windows.Controls.TreeView)] public class HierarchicalGroupByControl : Control, INotifyPropertyChanged, ISupportInitialize, IFrameworkInputElement, IInputElement, IHaveResources, IAnimatable, DUCE.IResource, IDropTarget | |
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..
| XAML | Copy Code |
|---|---|
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" | |
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Xceed.Wpf.DataGrid.HierarchicalGroupByControl
Supported Operating Systems: Windows Server 2003 Service Pack 1; Windows Vista; Windows XP Service Pack 2
Copy Code