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.
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override void OnValidating(
CancelEventArgs e
)
Protected Overrides Sub OnValidating (
e As CancelEventArgs
)
protected:
virtual void OnValidating(
CancelEventArgs^ e
) override
abstract OnValidating :
e : CancelEventArgs -> unit
override OnValidating :
e : CancelEventArgs -> unit
Parameters
- e CancelEventArgs
- The event arguments
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.