Provides data for the events of the Keyboard class.
| C# | Visual Basic | Visual C++ |
public class KeyEventArgs : KeyEventArgs
Public Class KeyEventArgs _ Inherits KeyEventArgs
public ref class KeyEventArgs : public KeyEventArgs
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Alt |
Gets a value indicating whether the ALT key was pressed.
(Inherited from KeyEventArgs.) | |
| Control |
Gets a value indicating whether the CTRL key was pressed.
(Inherited from KeyEventArgs.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Handled |
Gets or sets a value indicating whether the event was handled.
(Inherited from KeyEventArgs.) | |
| KeyCode | (Inherited from KeyEventArgs.) | |
| KeyData | (Inherited from KeyEventArgs.) | |
| KeyValue | (Inherited from KeyEventArgs.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Modifiers |
Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
(Inherited from KeyEventArgs.) | |
| ScanCode |
Gets the hardware scan code of the key that raised this event.
| |
| Shift |
Gets a value indicating whether the SHIFT key was pressed.
(Inherited from KeyEventArgs.) | |
| Simulated |
Gets a value indicating whether the event has been simulated or issued because of a physical
keyboard action.
| |
| SuppressKeyPress |
Gets or sets a value indicating whether the key event should be passed on to the underlying control.
(Inherited from KeyEventArgs.) | |
| Time |
Gets the time the event was raised at.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |||
| EventArgs | |||
| KeyEventArgs | |||
| KeyEventArgs | |||
