Back to Devexpress

AccordionControlElement.HeaderTemplate Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrolelement-f0972614.md

latest2.2 KB
Original Source

AccordionControlElement.HeaderTemplate Property

Provides access to a header template for the current AccordionControlElement. A header template specifies the order and alignment for header content blocks.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
[XtraSerializableProperty(true, true, false, 999)]
public AccordionHeaderTemplate HeaderTemplate { get; }
vb
<DXCategory("Appearance")>
<XtraSerializableProperty(True, True, False, 999)>
Public ReadOnly Property HeaderTemplate As AccordionHeaderTemplate

Property Value

TypeDescription
DevExpress.XtraBars.Navigation.AccordionHeaderTemplate

An AccordionHeaderTemplate object that specifies the order and alignment for header content blocks.

|

Remarks

Accordion elements can display four types of content within their headers: icons, captions, header controls and custom header buttons. Using the HeaderTemplate and AccordionControlElement.HeaderIndent properties you can build a desired header layout for each element. See the Element Header Layout article to learn more.

See Also

Element Header Layout

AccordionControlElement Class

AccordionControlElement Members

DevExpress.XtraBars.Navigation Namespace