The event handler receives an argument of type DialogKeyEventArgs containing data related to this event. The following DialogKeyEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Alt | Gets whether the Alt key was pressed. |
Control | Gets whether the Ctrl key was pressed. |
Handled | Gets or sets whether the event was handled. |
KeyCode | Gets the key code for the key the user pressed. |
KeyData | Gets the key data for the key the user pressed. |
Modifiers | Gets which combination of Ctrl, Shift, and Alt keys is pressed. |
Shift | Gets whether the Shift key was pressed. |