Skip to main content
A newer version of this page is available. .

RepositoryItemComboBox.SelectedValueChanged Event

Occurs after changing the index of the selected value in the combo box editor.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Events")]
public event EventHandler SelectedValueChanged

Event Data

The SelectedValueChanged event's data class is EventArgs.

Remarks

The SelectedValueChanged event occurs after changing the value of the ComboBoxEdit.SelectedIndex property. This property denotes the index of the selected value, which is provided by the ComboBoxEdit.SelectedItem property and displayed in the control’s edit box.

The SelectedValueChanged event occurs at the same time as the RepositoryItemComboBox.SelectedIndexChanged event. You can use these events interchangeably in your code. SelectedValueChanged is only provided for compatibility with the standard ComboBox control.

See the RepositoryItemComboBox.SelectedIndexChanged topic for more information.

The editor’s ComboBoxEdit.SelectedValueChanged event is equivalent to the current event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedValueChanged event.

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