Xceed Toolkit Plus for WPF v4.6 Documentation
Changing the no-group content

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 here to group by that column."

XAML
Copy Code
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"

 xmlns:local="clr-namespace:Xceed.Wpf.Documentation">

  <Grid.Resources>

   <xcdg:DataGridCollectionViewSource x:Key="cvs_orders"

                                      Source="{Binding Source={x:Static Application.Current},

                                                Path=Orders}"/>

   <Style TargetType="{x:Type xcdg:HierarchicalGroupByControl}">

      <Setter Property="NoGroupContent"

              Value="Hello World" />

   </Style>

  </Grid.Resources>

  <xcdg:DataGridControl x:Name="OrdersGrid"

                      ItemsSource="{Binding Source={StaticResource cvs_orders}}"/>

 

</Grid>