ComboBox.OnKeyPress(KeyPressEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the KeyPress event.
protected:
override void OnKeyPress(System::Windows::Forms::KeyPressEventArgs ^ e);
protected override void OnKeyPress (System.Windows.Forms.KeyPressEventArgs e);
override this.OnKeyPress : System.Windows.Forms.KeyPressEventArgs -> unit
Protected Overrides Sub OnKeyPress (e As KeyPressEventArgs)
Parameters
A KeyPressEventArgs that contains the event data.
Remarks
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
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.