Class MazeGridKeyDownEventArgs
The MazeGridKeyDownEventArgs class contains the details of a key down event
Inherited Members
Namespace: Maze.Maui.App
Assembly: Maze.Maui.App.dll
Syntax
public class MazeGridKeyDownEventArgs : EventArgs
Constructors
MazeGridKeyDownEventArgs(KeyState, Key)
Constructor
Declaration
public MazeGridKeyDownEventArgs(KeyState keyState, Key key)
Parameters
| Type | Name | Description |
|---|---|---|
| KeyState | keyState | Additional key state information |
| Key | key | Key that was pressed |
Properties
IsCapsLockKeyPressed
Indicates whether the Caps Lock key was down at the time the key was pressed
Declaration
public bool IsCapsLockKeyPressed { get; }
Property Value
| Type | Description |
|---|---|
| bool | Boolean |
IsCtrlKeyPressed
Indicates whether the Ctrl key was down at the time the key was pressed
Declaration
public bool IsCtrlKeyPressed { get; }
Property Value
| Type | Description |
|---|---|
| bool | Boolean |
IsShiftKeyPressed
Indicates whether the shift key was down at the time the key was pressed
Declaration
public bool IsShiftKeyPressed { get; }
Property Value
| Type | Description |
|---|---|
| bool | Boolean |
Key
Key that was pressed
Declaration
public Key Key { get; }
Property Value
| Type | Description |
|---|---|
| Key | Key |
KeyState
Additional key state information
Declaration
public KeyState KeyState { get; }
Property Value
| Type | Description |
|---|---|
| KeyState | Key state |