BaseComboBoxOnValidating Method

This is overridden to fire the NotInList event before the normal validation method so that you have a chance to take action on entered text that does not appear in the item list.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override void OnValidating(
	CancelEventArgs e
)

Parameters

e  CancelEventArgs
The event arguments

Remarks

If the text is found, the SelectedIndex property is set to match the entry containing the text. If it is not found, the NotInList event is raised so that you can control what happens.

See Also