Back to Devexpress

AccordionControlHtmlTemplates.FooterOverflowButton Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrolhtmltemplates-94951783.md

latest3.6 KB
Original Source

AccordionControlHtmlTemplates.FooterOverflowButton Property

Specifies the HTML-CSS template used to render the Overflow button in the control’s footer.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
HtmlTemplate

An HTML-CSS template used to render the Overflow button in the control’s footer panel.

|

Remarks

AccordionControl can render its UI elements from HTML-CSS templates. The following properties allow you to define HTML templates for the footer panel and its elements:

HTML markup for the HtmlFooterOverflowButtonTemplate template should contain an HTML element with the predefined “dx-item” identifier (id). This element’s size determines the Overflow button’s display size.

The following example shows a template for the HtmlFooterOverflowButtonTemplate property. The HTML code uses the “dx-item” id to mark the HTML element that determines the display size of the Overflow button:

html
<div class="container">
    <div id="dx-item" class="button">
        <div class="content">
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
        </div>
    </div>
</div>
css
.button {
    padding: 7px;
    border-radius: 3px;
    margin: 1px;
}

.content{
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 2px;
    height: 2px;
    background-color: #50EEB2;
    box-shadow: 0px 0px 3px #50EEB2;
    margin: 2px;
}

.button:hover {
    background-color: #2050EEB2;
}

See Also

AccordionControlHtmlTemplates Class

AccordionControlHtmlTemplates Members

DevExpress.XtraBars.Navigation Namespace