A newer version of this page is available. Switch to the current version.

LookUpEditBase.SelectedItem Property

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

Namespace: DevExpress.Xpf.Editors

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


public object SelectedItem { get; set; }
Public Property SelectedItem As Object

Property Value

Type Description

An object that represents the currently selected item.


Use the LookUpEditBase.SelectedIndex property to select an item by its index.

If the editor represents a checked combo box, use the LookUpEditBase.SelectedItems property to obtain a collection of selected items. In this instance, if multiple items are selected, the SelectedItem property returns the first selected item.


See Also