KeyboardExtensionMethods
Provides extension methods for keyboards.
Methods
Given a keys instance, determines whether it contains the OS specific CONTROL modifier. That is; CONTROL on Windows or COMMAND (i.e. APPLICATION) on Mac.
Parameters:
| keys (Keys) |
Given a keys instance, determines whether it contains the OS specific ALT modifier. That is; ALT on Windows or OPTION on Mac.
Parameters:
| keys (Keys) |
Given a keys instance, determines whether it contains the SHIFT modifier.
Parameters:
| keys (Keys) |
ImpliedSelectionMode
#Gets the implied selection mode from the current keyboard state.
Returns: Selection mode.
Determines whether the modifiers match the CONTROL key. That is; CONTROL on Windows or COMMAND (i.e. APPLICATION) on Mac.
Parameters:
| modifiers (Keys) |
Determines whether the modifiers match the SHIFT key.
Parameters:
| modifiers (Keys) |
Gets the implied selection mode.
Parameters:
| control (Control) | Control. This field may actually be null. |
Returns: Selection mode.
Gets the implied selection mode.
Parameters:
| mouseEventArgs (MouseEventArgs) | Event arguments. |
Returns: Selection mode.
Gets the implied selection mode.
Parameters:
| args (ResponseMouseArgs) | Event arguments. |
Returns: Selection mode.
Gets the implied selection mode.
Parameters:
| windowSelectionEventArgs (WindowSelectionEventArgs) | Event arguments. |
Returns: Selection mode.