KeyboardHelper
Class KeyboardHelper.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.Utilities
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
public static class KeyboardHelper
Inheritance: objectKeyboardHelper
Methods
Determines whether [is alt key] [the specified key].
public static bool IsAltKey(Key key)
The key.
Returns:true if [is alt key] [the specified key]; otherwise, false.
Determines whether [is alt pressed].
Determines whether [is control key] [the specified key].
public static bool IsCtrlKey(Key key)
The key.
Returns:true if [is control key] [the specified key]; otherwise, false.
Determines whether [is control or mac pressed].
public static bool IsCtrlPressed()
true if [is control or mac pressed]; otherwise, false.
Determines whether [is modifier pressed] [the specified modifiers].
public static bool IsModifierPressed(ModifierKeys modifiers, ModifierKeys modifier)
The modifiers.
modifierModifierKeysThe modifier.
Returns:true if [is modifier pressed] [the specified modifiers]; otherwise, false.
Determines whether [is modifier pressed] [the specified modifier].
public static bool IsModifierPressed(ModifierKeys modifier)
The modifier.
Returns:true if [is modifier pressed] [the specified modifier]; otherwise, false.
Determines whether [is shift pressed].
Determines whether [is shift pressed] [the specified modifiers].
public static bool IsShiftPressed(ModifierKeys modifiers)
The modifiers.
Returns:true if [is shift pressed] [the specified modifiers]; otherwise, false.