Table of Contents

Class PlatformKeyboardHandler<T>

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Abstract implementation of the IKeyboardHandler interface with mappings registration between platfrom keys and Key.

public abstract class PlatformKeyboardHandler<T> : PlatformKeyMapping<T>, IBaseObjectWithId, IDisposableObject, IBaseObject, IKeyboardHandler, IDisposable where T : struct, Enum

Type Parameters

T

Type of the platform key.

Inheritance
PlatformKeyboardHandler<T>
Implements

Constructors

PlatformKeyboardHandler(T, Key, bool)

Initializes a new instance of the PlatformKeyboardHandler<T> class.

Properties

KeyboardPresent

Gets whether hardware keyboard is present.

Methods

GetKeyStatesFromSystem(Key)

Gets the current state of the specified key from the device from the underlying system

HideKeyboard(AbstractControl?)

Hides on-screen keyboard for the specified control.

IsSoftKeyboardShowing(AbstractControl?)

Gets whether on-screen keyboard is shown for the specified control.

IsValidKey(Key)

Checks whether key is valid for the current platform.

RegisterKeyMappings()

Registers default key mappings between platform keys and Key.

ShowKeyboard(AbstractControl?)

Shows on-screen keyboard for the specified control.