Back to Devexpress

AccordionControlHtmlTemplates.GroupContent Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrolhtmltemplates-6e625db2.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Layout")]
public HtmlTemplate GroupContent { get; }
vb
<DXCategory("Layout")>
Public ReadOnly Property GroupContent As HtmlTemplate

Property Value

TypeDescription
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

AccordionControlHtmlTemplates Class

AccordionControlHtmlTemplates Members

DevExpress.XtraBars.Navigation Namespace