Class KeyboardHelper
Class KeyboardHelper.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.Utilities
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public static class KeyboardHelper
Methods
IsAltKey(Keys)
Determines whether [is alt key] [the specified key].
Declaration
public static bool IsAltKey(Keys key)
Parameters
System.Windows.Forms.Keys
key
The key. |
Returns
System.Boolean
|
IsAltPressed()
Determines whether [is alt pressed].
Declaration
public static bool IsAltPressed()
Returns
System.Boolean
|
IsCtrlKey(Keys)
Determines whether [is control key] [the specified key].
Declaration
public static bool IsCtrlKey(Keys key)
Parameters
System.Windows.Forms.Keys
key
The key. |
Returns
System.Boolean
|
IsCtrlPressed()
Determines whether [is control or mac pressed].
Declaration
public static bool IsCtrlPressed()
Returns
System.Boolean
|
IsModifierPressed(Keys)
Determines whether [is modifier pressed] [the specified modifier].
Declaration
public static bool IsModifierPressed(Keys modifier)
Parameters
System.Windows.Forms.Keys
modifier
The modifier. |
Returns
System.Boolean
|
IsModifierPressed(Keys, Keys)
Determines whether [is modifier pressed] [the specified modifiers].
Declaration
public static bool IsModifierPressed(Keys modifiers, Keys modifier)
Parameters
System.Windows.Forms.Keys
modifiers
The modifiers. |
System.Windows.Forms.Keys
modifier
The modifier. |
Returns
System.Boolean
|
IsShiftPressed()
Determines whether [is shift pressed].
Declaration
public static bool IsShiftPressed()
Returns
System.Boolean
|
IsShiftPressed(Keys)
Determines whether [is shift pressed] [the specified modifiers].
Declaration
public static bool IsShiftPressed(Keys modifiers)
Parameters
System.Windows.Forms.Keys
modifiers
The modifiers. |
Returns
System.Boolean
|