[]
        
(Showing Draft Content)

C1.Maui.Core.C1KeyboardHelper

C1KeyboardHelper Class

This class allows accessing keyboard-related information and constants.

Inheritance
C1KeyboardHelper
Namespace: C1.Maui.Core
Assembly: C1.Maui.Core.dll
Syntax
public static class C1KeyboardHelper

Properties

Name Description
A

The A key.

Back

The Backspace key.

C

The C key.

Delete

The Delete key.

Down

The Down Arrow key.

End

The End key.

Enter

The Enter key.

Escape

The ESC key.

F2

The F2 key.

F5

The F5 key.

Home

The Home key.

Left

The Left Arrow key.

Menu

The Application key (Microsoft Natural Keyboard). Also known as the Menu key, as it displays an application-specific context menu.

Minus

The Subtract key.

PageDown

The Page Down key.

PageUp

The Page Up key.

Plus

The Add key.

Right

The Right Arrow key.

Tab

The Tab key.

Up

The Up Arrow key.

V

The V key.

X

The X key.

Methods

Name Description
GetChar(KeyEventArgs)

Returns char representation of string that was pressed.

GetKey(KeyEventArgs)

Returns string that was pressed.

IsAltPressed(KeyEventArgs)

Returns whether the Alt key is pressed.

IsCommandPressed(KeyEventArgs)

Returns whether the Command key is pressed.

IsCtrlPressed(KeyEventArgs)

Returns whether the Ctrl key is pressed.

IsShiftPressed(KeyEventArgs)

Returns whether the Shift key is pressed.