Class KeyPressEventArgs
Provides data associated with the KeyDown event.
Inheritance
System.Object
KeyPressEventArgs
Namespace: Syncfusion.Maui.TreeView
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public class KeyPressEventArgs : EventArgs
Properties
Handled
Gets or sets a value indicating whether to handle the event or not.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAltKeyPressed
Gets a value indicating whether the Alt key is in pressed state.
Declaration
public bool IsAltKeyPressed { get; }
Property Value
Type |
---|
System.Boolean |
IsCommandKeyPressed
Gets a value indicating whether the Command key is in pressed state.
Declaration
public bool IsCommandKeyPressed { get; }
Property Value
Type |
---|
System.Boolean |
Remarks
This property is only applicable for iOS platform.
IsCtrlKeyPressed
Gets a value indicating whether the Control key is in pressed state.
Declaration
public bool IsCtrlKeyPressed { get; }
Property Value
Type |
---|
System.Boolean |
IsShiftKeyPressed
Gets a value indicating whether the Shift key is in pressed state.
Declaration
public bool IsShiftKeyPressed { get; }
Property Value
Type |
---|
System.Boolean |
Key
Gets the key that is currently pressed.
Declaration
public KeyboardKey Key { get; }
Property Value
Type |
---|
Syncfusion.Maui.Core.Internals.KeyboardKey |