ShortcutEventArgs
Class
Encapsulates the data, associated with the IShortcutProvider.OnShortcut callback.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
C#
public class ShortcutEventArgs : EventArgs
Inheritance: objectEventArgsShortcutEventArgs
Derived Classes:
Inherited Members
Constructors
Initializes event data for a matched shortcut.
C#
public ShortcutEventArgs(Control focused, RadShortcut shortcut)
The control targeted when the shortcut was matched.
shortcutRadShortcutThe matched shortcut.
Properties
Gets the control that is currently focused and which will receive the keyboard event.
C#
public Control FocusedControl { get; }
Determines whether the event is handled. If true, the keyboard message will not be dispatched to the focused control.
C#
public bool Handled { get; set; }
Gets the shortcut that is triggerred.
C#
public RadShortcut Shortcut { get; }