NumericUpDown.OnTextBoxKeyPress(Object, KeyPressEventArgs) Methode

Definition

Löst das KeyPress-Ereignis aus.

protected:
 override void OnTextBoxKeyPress(System::Object ^ source, System::Windows::Forms::KeyPressEventArgs ^ e);
protected override void OnTextBoxKeyPress (object source, System.Windows.Forms.KeyPressEventArgs e);
protected override void OnTextBoxKeyPress (object? source, System.Windows.Forms.KeyPressEventArgs e);
override this.OnTextBoxKeyPress : obj * System.Windows.Forms.KeyPressEventArgs -> unit
Protected Overrides Sub OnTextBoxKeyPress (source As Object, e As KeyPressEventArgs)

Parameter

source
Object

Die Quelle des Ereignisses.

e
KeyPressEventArgs

Ein KeyPressEventArgs, das die Ereignisdaten enthält.

Hinweise

Das NumericUpDown Steuerelement akzeptiert nur Ziffern, das negative Zeichen, den Dezimalpunkt und die Bearbeitung von Tastenanschlägen, z. B. BACKSPACE. Wenn die Hexadecimal Eigenschaft auf true", NumericUpDown akzeptiert hexadezimale Ziffern.

Gilt für: