| Visual Basic (Declaration) | |
|---|---|
<ContentPropertyAttribute("SelectorItems")> Public Class FieldNameGroupConfigurationSelector Inherits GroupConfigurationSelector | |
| C# | |
|---|---|
[ContentPropertyAttribute("SelectorItems")] public class FieldNameGroupConfigurationSelector : GroupConfigurationSelector | |
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 a FieldNameGroupConfigurationSelector that will apply the defined group configuration to all groups that are created from the values of the column corresponding to the specified field name.
| XAML | Copy Code |
|---|---|
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"> | |
System.Object
Xceed.Wpf.DataGrid.GroupConfigurationSelector
Xceed.Wpf.DataGrid.FieldNameGroupConfigurationSelector
Supported Operating Systems: Windows Server 2003 Service Pack 1; Windows Vista; Windows XP Service Pack 2
Copy Code