Table of Contents

Interface IKeyboardEventArgs

Namespace
GroupeIsa.Neos.Designer.UIAbstractions
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

Represents the arguments of the keyboard event.

public interface IKeyboardEventArgs : IUIEventArgs
Inherited Members

Properties

AltKey

Gets a value indicating whether the Alt key was held down when the key was pressed.

bool AltKey { get; }

Property Value

bool

CtrlKey

Gets a value indicating whether the Ctrl key was held down when the key was pressed.

bool CtrlKey { get; }

Property Value

bool

IsComposing

Gets a value indicating whether the key is pressed during a composition of an input method editor, in which case it belongs to the composition (Enter confirming a candidate for instance) and not to the field.

bool IsComposing { get; }

Property Value

bool

Key

Gets the value of the key pressed, such as "Enter" or "Escape".

string Key { get; }

Property Value

string

MetaKey

Gets a value indicating whether the Meta key was held down when the key was pressed.

bool MetaKey { get; }

Property Value

bool

ShiftKey

Gets a value indicating whether the Shift key was held down when the key was pressed.

bool ShiftKey { get; }

Property Value

bool

Methods

CommitActiveInput()

Commits the value being typed in the focused input, as if the input had lost the focus.

void CommitActiveInput()

Remarks

An input whose update mode is not immediate only gives its value to the view once committed, which happens after the keydown of the Enter key. Call this method before reading the value from a keydown method.