KeyboardInfo
Class
A class that provides data for performed keyboard actions.
Definition
Namespace:Telerik.Maui
Assembly:Telerik.Maui.Core.dll
Syntax:
C#
public class KeyboardInfo
Inheritance: objectKeyboardInfo
Constructors
Initializes a new instance of the KeyboardInfo class.
C#
public KeyboardInfo(RadKeyboardKey key, Action markEventArgsAsHandled = null)
The pressed keyboard key.
markEventArgsAsHandledActionWhether the event args be marked as handled.
Fields
Gets the keyboard key that was pressed.
C#
public readonly RadKeyboardKey key
Properties
Gets or sets a value indicating whether the keyboard event should be canceled.
C#
public bool Cancel { get; set; }
Modifiers
KeyboardAcceleratorModifiers
Gets the set of modifier keys (such as Ctrl, Alt, Shift, or Windows) pressed in combination with the key.
C#
public KeyboardAcceleratorModifiers Modifiers { get; }