wpf-devexpress-dot-xpf-dot-grid-dot-detaildescriptorbase-2493312a.md
Gets or sets the detail header section’s visibility.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool ShowHeader { get; set; }
Public Property ShowHeader As Boolean
| Type | Description |
|---|---|
| Boolean |
true to display the detail’s header section; otherwise, false.
|
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