| Visual Basic (Declaration) | |
|---|---|
Public NotInheritable Class DetailConfiguration Inherits DependencyObject Implements INotifyPropertyChanged, ISupportInitialize, IWeakEventListener | |
| C# | |
|---|---|
public sealed class DetailConfiguration : DependencyObject, INotifyPropertyChanged, ISupportInitialize, IWeakEventListener | |
All examples in this topic assume that the grid is bound to the Employees table of the Northwind database, unless stated otherwise.
The following code demonstrates how to bind the grid to the Employees property and provide a detail configuration for both detail relations to change their title and the item-container style of the first child detail.
| XAML | Copy Code |
|---|---|
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" | |
The following example demonstrates how to set routed view properties on detail configurations to change the width of their detail indicators as well as to fix columns and remove the fixed-column splitter.
| XAML | Copy Code |
|---|---|
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" | |
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
Xceed.Wpf.DataGrid.DetailConfiguration
Supported Operating Systems: Windows Server 2003 Service Pack 1; Windows Vista; Windows XP Service Pack 2


~338.gif)



~338.gif)
~338.gif)


~338.gif)

Copy Code