Skip to main content

ComboBoxEdit.SelectedItem Property

Gets or sets an object that specifies a data source’s item to which the combo box’s selected item corresponds. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public object SelectedItem { get; set; }

Property Value

Type Description
System.Object

The data source item.

Remarks

You can also use the ComboBoxEdit.SelectedValue property to specify the selected item by its value. Use the ComboBoxEditBase.ValueMember property to define the data field that supplies values that are used to set the selected item.

To specify the selected item by its index, use the ComboBoxEdit.SelectedIndex property.

Handle the SelectionChanged event or use the SelectionChangedCommand property to respond user selection actions.

See Also