Class
KeyboardInfo

A class that provides data for performed keyboard actions.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class KeyboardInfo

Inheritance: objectKeyboardInfo

Constructors

KeyboardInfo(RadKeyboardKey, Action)

Initializes a new instance of the KeyboardInfo class.

Declaration

cs-api-definition
public KeyboardInfo(RadKeyboardKey key, Action markEventArgsAsHandled = null)

Parameters

key

RadKeyboardKey

The pressed keyboard key.

markEventArgsAsHandled

Action

Whether the event args be marked as handled.

Fields

key

Gets the keyboard key that was pressed.

Declaration

cs-api-definition
public readonly RadKeyboardKey key

Field Value

RadKeyboardKey

Properties

Cancel

Gets or sets a value indicating whether the keyboard event should be canceled.

Declaration

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

Modifiers

Gets the set of modifier keys (such as Ctrl, Alt, Shift, or Windows) pressed in combination with the key.

Declaration

cs-api-definition
public KeyboardAcceleratorModifiers Modifiers { get; }

Property Value

KeyboardAcceleratorModifiers