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.v21.1.dll

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