Search Results for

    Show / Hide Table of Contents

    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 : AuxiliaryExtensionAttribute
    Remarks

    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.

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • ShortcutAttribute(Keys)
    • Properties
      • Shortcut
    • Extension Methods
    Back to top Generated by DocFX