Skip to main content
All docs
V24.1

AccordionControlHtmlTemplates.GroupContent Property

Specifies the HTML-CSS template used to render a group’s client area (the group’s background that hosts the group’s children).

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Description
HtmlTemplate

An HTML-CSS template used to render a group’s client area.

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).

Use the AccordionControlHtmlTemplates.Group property to specify a template to paint a group’s header.

See Also