Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Appearance")]
[XtraSerializableProperty(true, true, false, 999)]
public AccordionHeaderTemplate HeaderTemplate { get; }

#Property Value

Type Description
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