Back to Devexpress

DetailDescriptorBase.ShowHeader Property

wpf-devexpress-dot-xpf-dot-grid-dot-detaildescriptorbase-2493312a.md

latest2.6 KB
Original Source

DetailDescriptorBase.ShowHeader Property

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

Declaration

csharp
public bool ShowHeader { get; set; }
vb
Public Property ShowHeader As Boolean

Property Value

TypeDescription
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 TypeProperties Specifying Header Content
ContentDetailDescriptorContentDetailDescriptor.HeaderContent and, optionally, DetailDescriptorBase.HeaderContentTemplate.
DataControlDetailDescriptorDataViewBase.DetailHeaderContent and, optionally, DetailDescriptorBase.HeaderContentTemplate.

The following image shows detail section headers when specifying textual content without setting custom templates.

See Also

HeaderContent

HeaderContentTemplate

DetailHeaderContent

DetailDescriptorBase Class

DetailDescriptorBase Members

DevExpress.Xpf.Grid Namespace