Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AccordionControl.SelectionMode Property

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
SelectionMode

A SelectionMode enumeration value that specifies whether an end-user can select accordion items.

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:

AccordionSelection

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