Skip to main content

AccordionExpandButtonDisplayMode Enum

Lists values that specify where the Accordion component displays its expand button.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum AccordionExpandButtonDisplayMode

Members

Name Description
Start

The Accordion displays an expand button to the left of items.

End

The Accordion displays an expand button to the right of items.

None

The Accordion does not display an expand button.

Related API Members

The following properties accept/return AccordionExpandButtonDisplayMode values:

Remarks

The following code snippet sets the RootItemExpandButtonDisplayMode property value to Start:

<DxAccordion RootItemExpandButtonDisplayMode="AccordionExpandButtonDisplayMode.Start">
    <Items>
        <DxAccordionItem Text="Grid"></DxAccordionItem>
        <DxAccordionItem Text="Navigation and Layout" Expanded="true">
            <Items>
                <DxAccordionItem Text="Accordion"></DxAccordionItem>
                <DxAccordionItem Text="Context Menu"></DxAccordionItem>
            </Items>
        </DxAccordionItem>
        <DxAccordionItem Text="Data Editors"></DxAccordionItem>
    </Items>
</DxAccordion>

Display mode: Left

The following code snippet sets the RootItemExpandButtonDisplayMode property value to End:

<DxAccordion RootItemExpandButtonDisplayMode="AccordionExpandButtonDisplayMode.End">
    @* ... *@
</DxAccordion>

Display mode: Right

The following code snippet sets the RootItemExpandButtonDisplayMode property value to None:

<DxAccordion RootItemExpandButtonDisplayMode="AccordionExpandButtonDisplayMode.None">
    @* ... *@
</DxAccordion>

Display mode: None

See Also