Class Shortcuts
Represents keyboard shortcuts.
Inheritance
Namespace: Telerik.WinControls.Keyboard
Assembly: Telerik.WinControls.dll
Syntax
public class Shortcuts : Component, IExtenderProvider
Constructors
Shortcuts()
Initializes a new instance of the Shortcuts class.
Declaration
public Shortcuts()
Shortcuts(IContainer)
Initializes a new instance of the Shortcuts class.
Declaration
public Shortcuts(IContainer container)
Parameters
System.ComponentModel.IContainer
container
|
Shortcuts(Control)
Declaration
public Shortcuts(Control owner)
Parameters
System.Windows.Forms.Control
owner
|
Properties
InputBindings
Gets the input bindings.
Declaration
public InputBindingsCollection InputBindings { get; }
Property Value
InputBindingsCollection
|
Owner
Declaration
public Control Owner { get; set; }
Property Value
System.Windows.Forms.Control
|
Methods
AddCommandBindings(List<InputBinding>)
Adds command bindings.
Declaration
public void AddCommandBindings(List<InputBinding> bindings)
Parameters
System.Collections.Generic.List<InputBinding>
bindings
|
AddCommandBindings(InputBinding)
Adds the command bindings.
Declaration
public void AddCommandBindings(InputBinding binding)
Parameters
InputBinding
binding
|
AddCommandBindings(InputBindingsCollection)
Adds commands bindings.
Declaration
public void AddCommandBindings(InputBindingsCollection bindings)
Parameters
InputBindingsCollection
bindings
|
AddShortcutsSupport()
Declaration
public virtual void AddShortcutsSupport()
CanExtend(Object)
Declaration
public bool CanExtend(object extendee)
Parameters
System.Object
extendee
|
Returns
System.Boolean
|
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
GetCommandBinding(IComponent)
Declaration
public InputBinding GetCommandBinding(IComponent component)
Parameters
System.ComponentModel.IComponent
component
|
Returns
InputBinding
|
OnActivate(ChordEventArgs)
ResetCommandBinding(InputBinding)
SetCommandBinding(IComponent, InputBinding)
Declaration
public void SetCommandBinding(IComponent component, InputBinding value)
Parameters
System.ComponentModel.IComponent
component
|
InputBinding
value
|
Events
Activate
Fires when a shortcut is activated.
Declaration
public event ChordsEventHandler Activate
Event Type
ChordsEventHandler
|