Class ShortcutAttribute
Used to define shortcuts for the actions.
Inheritance
System.Object
    ShortcutAttribute
  Namespace: Sdl.Desktop.IntegrationApi.Extensions
Assembly: Sdl.Desktop.IntegrationApi.Extensions.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ShortcutAttribute : AuxiliaryExtensionAttributeRemarks
This attribute can be used in conjunction with the ActionAttribute attributes.
Constructors
ShortcutAttribute(Keys)
Initialize the instance of this attribute using a specified shortcut.
Declaration
public ShortcutAttribute(Keys shortcut)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Forms.Keys | shortcut | The shortcut to use. | 
Properties
Shortcut
Gets or sets the shortcut.
Declaration
public Keys Shortcut { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Windows.Forms.Keys | The shortcut. |