AccordionControl.SelectionMode Property
In This Article
Gets or sets whether an end-user can select accordion items. This is a dependency property.
Namespace: DevExpress.Xpf.Accordion
Assembly: DevExpress.Xpf.Accordion.v24.2.dll
NuGet Package: DevExpress.Wpf.Accordion
#Declaration
public SelectionMode SelectionMode { get; set; }
#Property Value
Type | Description |
---|---|
Selection |
A Selection |
Available values:
Name | Description |
---|---|
None | accordion items cannot be selected. |
Single | A single accordion item can be selected. |
#Remarks
End-users can select one accordion item at a time by default:
You can set the SelectionMode property to SelectionMode.None to prohibit item selection.
Use the AccordionControl.SelectedItem property to get or set the selected accordion item.
Refer to the Selection topic to learn more.
See Also