Gets or sets the currently selected item. This property is in effect if item selection is enabled with the AccordionControl.AllowItemSelection property.
NuGet Package: DevExpress.Win.Navigation
The currently selected element.
Items (elements whose AccordionControlElement.Style properties are set to Item) support the selected state, provided that the AccordionControl.AllowItemSelection property is enabled. A selected item is highlighted as specified by the current skin. Use the SelectedElement property or the AccordionControl.SelectElement method to select a certain element in code.
An end-user can select an item by clicking its header.
Groups (elements whose AccordionControlElement.Style property is set to Group) do not support the selected state. Thus, they cannot be selected with the SelectedElement property, nor with the AccordionControl.SelectElement method.
To respond to changing the selected item, handle the AccordionControl.SelectedElementChanged event.