System.Windows.Forms.ComboBox.SelectionChangeCommitted Event

Occurs when the selected item has changed and that change is displayed in the System.Windows.Forms.ComboBox.

Syntax

public event EventHandler SelectionChangeCommitted

Remarks

ComboBox.SelectionChangeCommitted is raised only when the user changes the combo box selection. Do not use ComboBox.SelectedIndexChanged or ListControl.SelectedValueChanged to capture user changes, because those events are also raised when the selection changes programmatically.

You can create a ComboBox.SelectionChangeCommitted event handler to provide special handling for the System.Windows.Forms.ComboBox when the user changes the selected item in the list.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0