Skip to main content
All docs
V24.2

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

AccordionControlHtmlTemplates.ItemContent Property

Specifies the HTML-CSS template used to render an item’s client area.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Layout")]
public HtmlTemplate ItemContent { get; }

#Property Value

Type
HtmlTemplate

#Remarks

AccordionControl can render its UI elements from HTML-CSS templates. Use the HtmlGroupContentTemplate property to specify a template to render the client areas of groups (elements that have the AccordionControlElement.Style property set to Group).

HTML markup of the HtmlGroupContentTemplate must contain an HTML element with the “dx-content” identifier (id). AccordionControl searches for this element and uses it as a surface to render a group’s items (AccordionControlElement.Elements).

See Also