ComboBox.OnKeyPress(KeyPressEventArgs) Metoda

Definicja

KeyPress Zgłasza zdarzenie.

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)

Parametry

e
KeyPressEventArgs

Element KeyPressEventArgs zawierający dane zdarzenia.

Uwagi

Jeśli wartość właściwości to lub , a DroppedDown właściwość ma truewartość , OnKeyPress metoda ustawia wartość falseDroppedDown .EscapeReturneKeyChar

Dotyczy