Skip to main content

AccordionControl.SelectedItem Property

Gets or sets an object that is the currently selected accordion item. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v24.2.dll

NuGet Package: DevExpress.Wpf.Accordion

Declaration

public object SelectedItem { get; set; }

Property Value

Type Description
Object

A Object that is the currently selected accordion item.

Remarks

End-users can select one accordion item at a time by default:

AccordionSelection

You can set the AccordionControl.SelectionMode property to SelectionMode.None to prohibit item selection.

Use the SelectedItem property to get or set the selected accordion item.

Refer to the Selection topic to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SelectedItem property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also