DetailDescriptorBase.ShowHeader Property
Gets or sets the detail header section’s visibility.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v25.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean | true to display the detail’s header section; otherwise, false. |
Remarks
Whether using a ContentDetailDescriptor or a DataControlDetailDescriptor, you can enable the header section using the ShowHeader property. Depending on the detail descriptor type, you can specify the section’s content using different properties:
| Detail Section Type | Properties Specifying Header Content |
|---|---|
| ContentDetailDescriptor | ContentDetailDescriptor.HeaderContent and, optionally, DetailDescriptorBase.HeaderContentTemplate. |
| DataControlDetailDescriptor | DataViewBase.DetailHeaderContent and, optionally, DetailDescriptorBase.HeaderContentTemplate. |
The following image shows detail section headers when specifying textual content without setting custom templates.

See Also