Skip to main content

ListBoxEdit.SelectedItem Property

Gets or sets the currently selected item. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public object SelectedItem { get; set; }

#Property Value

Type Description
Object

An object that represents the currently selected item.

#Remarks

If multiple item selection is enabled, the SelectedItem property returns the first element in the ListBoxEdit.SelectedItems collection.

To obtain the currently selected item's index, use the ListBoxEdit.SelectedIndex property.

ListBoxEdit_SelectedItems

#Implements

DevExpress.Xpf.Editors.Internal.ISelectorEdit.SelectedItem
See Also