Search Results for

    Show / Hide Table of Contents

    Class KeyboardAction

    Defines an action which can be registered in a KeyboardController

    Inheritance
    System.Object
    KeyboardAction
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.UI
    Assembly: Simplic.UI.dll
    Syntax
    public class KeyboardAction

    Constructors

    | Improve this Doc View Source

    KeyboardAction(ModifierKeys, Key[], KeyboardAction.KeyboardActionHandler)

    Create new Keybaord action

    Declaration
    public KeyboardAction(ModifierKeys modifiers, Key[] keys, KeyboardAction.KeyboardActionHandler handler)
    Parameters
    Type Name Description
    System.Windows.Input.ModifierKeys modifiers

    List of modifiers keys

    System.Windows.Input.Key[] keys

    List of keys

    KeyboardAction.KeyboardActionHandler handler

    Handler which will be executed

    Properties

    | Improve this Doc View Source

    Handler

    Handler which will be executed if the configureated buttons are pressed

    Declaration
    public KeyboardAction.KeyboardActionHandler Handler { get; set; }
    Property Value
    Type Description
    KeyboardAction.KeyboardActionHandler
    | Improve this Doc View Source

    Keys

    Keys which will be combined with modifiers

    Declaration
    public Key[] Keys { get; set; }
    Property Value
    Type Description
    System.Windows.Input.Key[]
    | Improve this Doc View Source

    Modifiers

    Modfier keys for this action

    Declaration
    public ModifierKeys Modifiers { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ModifierKeys
    | Improve this Doc View Source

    PreviewKeyDown

    If set to true, the keyboard event will be grabbed before the inner elements has the chance to pick them

    Declaration
    public bool PreviewKeyDown { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx