| Visual Basic (Declaration) | |
|---|---|
<TemplatePartAttribute(Name="PART_GroupLevelIndicatorHost", Type=System.Windows.Controls.Panel)> Public Class GroupLevelIndicatorPane Inherits Control Implements ISupportInitialize, IFrameworkInputElement, IInputElement, IWeakEventListener, IHaveResources, IAnimatable, DUCE.IResource | |
| C# | |
|---|---|
[TemplatePartAttribute(Name="PART_GroupLevelIndicatorHost", Type=System.Windows.Controls.Panel)] public class GroupLevelIndicatorPane : Control, ISupportInitialize, IFrameworkInputElement, IInputElement, IWeakEventListener, IHaveResources, IAnimatable, DUCE.IResource | |
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 hide the group-level indicator pane by creating a style which sets the Visibility property of GroupLevelIndicatorPane objects to Collapsed.
| XAML | Copy Code |
|---|---|
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"> | |

Figure 1: GroupLevelIndicators (red) and GroupLevleIndicatorPane (orang)
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.GroupLevelIndicatorPane
Supported Operating Systems: Windows Server 2003 Service Pack 1; Windows Vista; Windows XP Service Pack 2
Copy Code