Table of Contents

Class MauiKeyboardHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Maui.dll

Implements IKeyboardHandler for MAUI platform under MacOs.

public class MauiKeyboardHandler : PlatformKeyboardHandler<UIKeyboardHidUsage>, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, IKeyboardHandler, IDisposable
Inheritance
AbstractTwoWayEnumMapping<UIKeyboardHidUsage, Key>
TwoWayEnumMapping<UIKeyboardHidUsage, Key>
PlatformKeyMapping<UIKeyboardHidUsage>
PlatformKeyboardHandler<UIKeyboardHidUsage>
MauiKeyboardHandler
Implements

Constructors

MauiKeyboardHandler()

Initializes a new instance of the MauiKeyboardHandler class.

Fields

Default

Gets or sets default IKeyboardHandler implementation.

Methods

Convert(UIKeyModifierFlags)

Converts UIKit.UIKeyModifierFlags to ModifierKeys.

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.

RegisterKeyMappings()

Registers default key mappings between platform keys and Key.

ShowKeyboard(AbstractControl?)

Shows on-screen keyboard for the specified control.

ToKeyEventArgs(AbstractControl?, UIPress, KeyStates)

Converts event arguments from UIKit.UIPress to KeyEventArgs.

ToKeyPressEventArgs(AbstractControl?, UIPress)

Converts event arguments from UIKit.UIPress to KeyPressEventArgs.