DataViewBase.DetailHeaderContent Property
Gets or sets the detail section's header content.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Property Value
Type | Description |
---|---|
Object | An object representing the detail section's header content. |
#Remarks
Details display header sections when the DetailDescriptorBase.ShowHeader option is enabled. When using a DataControlDetailDescriptor, you can specify the header section content via the detail Grid View's DataViewBase.DetailHeaderContent. If no template has been assigned to the DetailDescriptorBase.HeaderContentTemplate, then the header will simply display the textual representation of the assigned content object. If you specify a template, then the DataViewBase.DetailHeaderContent will define the DataContext for the template.
The following image shows a detail header section's default representation (when no template has been assigned).
The DetailHeaderContent property also specifies the string representation of the Detail section within the Group Panel, Filter Panel and detail tab headers. For DevExpress.Xpf.Grid.ContentDetailDescriptor objects, use the P:DevExpress.Xpf.Grid.ContentDetailDescriptor.HeaderContent property. The following image shows these two properties in action.