ClassKeyboardInfo
Class
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
The pressed keyboard key.
markEventArgsAsHandled
Whether the event args be marked as handled.
Fields
key
Gets the keyboard key that was pressed.
Properties
Cancel
Gets or sets a value indicating whether the keyboard event should be canceled.
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