Skip to main content

AccordionExpandCollapseAction Enum

Lists actions that can expand or collapse an Accordion item.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum AccordionExpandCollapseAction

Members

Name Description
Auto

When item selection is disabled, users can click an item or its Expand/Collapse button to expand/collapse the item.

When item selection is enabled, users can click an item header to select it or the Expand/Collapse button to expand/collapse the item.

HeaderClick

The item expands or collapses when a user clicks the item’s header or expand\collapse button.

HeaderDoubleClick

The item expands or collapses when a user double clicks the item’s header or expand\collapse button.

ExpandButtonClick

The item expands or collapses when a user clicks the expand\collapse button.

Related API Members

The following properties accept/return AccordionExpandCollapseAction values:

Remarks

The following example sets the ExpandCollapseAction property value to ExpandButtonClick:

<DxAccordion ExpandCollapseAction="AccordionExpandCollapseAction.ExpandButtonClick">
    <Items>
        @* ... *@
    </Items>
</DxAccordion>       
See Also