New to Telerik UI for WinFormsStart a free 30-day trial

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: PartialShortcutEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public ShortcutEventArgs(Control focused, RadShortcut shortcut)
Parameters:focusedControlshortcutRadShortcut

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; }