ComboBox::OnKeyPress Method (KeyPressEventArgs^)
.NET Framework (current version)
Raises the KeyPress event.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- e
-
Type:
System.Windows.Forms::KeyPressEventArgs^
A KeyPressEventArgs that contains the event data.
If the value of the KeyChar property of e is Return or Escape and the DroppedDown property is true, the OnKeyPress method sets DroppedDown to false.
.NET Framework
Available since 1.1
Available since 1.1
Show: