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.
Given a keys instance, determines whether it contains the OS specific ALT modifier. That is; ALT on Windows or OPTION on Mac.
Given a keys instance, determines whether it contains the SHIFT modifier.
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.
Determines whether the modifiers match the SHIFT key.
Gets the implied selection mode.
public static SelectionMode SelectionMode()
this Control
control
Control. This field may actually be null.
Returns: Selection mode.
Gets the implied selection mode.
Returns: Selection mode.
Gets the implied selection mode.
Returns: Selection mode.