Skip to main content
All docs
V25.1
  • AccordionControlHtmlTemplates.ItemContent Property

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

    Namespace: DevExpress.XtraBars.Navigation

    Assembly: DevExpress.XtraBars.v25.1.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