blazor-devexpress-dot-blazor-6891dfb5.md
Lists values that specify selection options in the Accordion component.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public enum NavigationSelectionMode
| Name | Description |
|---|---|
None |
Users cannot select items.
|
| Single |
Users can select one item.
|
The following properties accept/return NavigationSelectionMode values:
Set the SelectionMode property value to Single to activate selection functionality in the Accordion component:
<DxAccordion SelectionMode="NavigationSelectionMode.Single">
<Items>
<DxAccordionItem Text="Shapes">
<Items>
<DxAccordionItem Text="Circle" />
<DxAccordionItem Text="Square" />
</Items>
</DxAccordionItem>
<DxAccordionItem Text="Templates" />
</Items>
</DxAccordion>
If you want the item to expand on selection, set the AccordionExpandCollapseAction property to HeaderClick.
See Also