- e
- A System.Windows.Forms.KeyEventArgs that contains event data.
Visual Basic (Declaration) | |
---|---|
Overrides Protected Sub OnKeyDown( _ ByVal e As KeyEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As NumericTextBox Dim e As KeyEventArgs instance.OnKeyDown(e) |
C# | |
---|---|
protected override void OnKeyDown( KeyEventArgs e ) |
Managed Extensions for C++ | |
---|---|
protected: void OnKeyDown( KeyEventArgs* e ) override |
C++/CLI | |
---|---|
protected: void OnKeyDown( KeyEventArgs^ e ) override |
Parameters
- e
- A System.Windows.Forms.KeyEventArgs that contains event data.
It increases the value by one if the up key is pressed. It decreases the value by one for if the down key is pressed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7