Class RawKeyEventArgs
- Namespace
- Avalonia.Input.Raw
- Assembly
- Avalonia.Base.dll
[PrivateApi]
public class RawKeyEventArgs : RawInputEventArgs
- Inheritance
-
RawKeyEventArgs
- Inherited Members
-
Constructors
public RawKeyEventArgs(IInputDevice device, ulong timestamp, IInputRoot root, RawKeyEventType type, Key key, RawInputModifiers modifiers, PhysicalKey physicalKey, KeyDeviceType keyDeviceType, string? keySymbol)
Parameters
device
IInputDevice
timestamp
ulong
root
IInputRoot
type
RawKeyEventType
key
Key
modifiers
RawInputModifiers
physicalKey
PhysicalKey
keyDeviceType
KeyDeviceType
keySymbol
string
public RawKeyEventArgs(IInputDevice device, ulong timestamp, IInputRoot root, RawKeyEventType type, Key key, RawInputModifiers modifiers, PhysicalKey physicalKey, string? keySymbol)
Parameters
device
IInputDevice
timestamp
ulong
root
IInputRoot
type
RawKeyEventType
key
Key
modifiers
RawInputModifiers
physicalKey
PhysicalKey
keySymbol
string
[Obsolete("Use the overload that takes a physical key and key symbol instead.")]
public RawKeyEventArgs(IKeyboardDevice device, ulong timestamp, IInputRoot root, RawKeyEventType type, Key key, RawInputModifiers modifiers)
Parameters
device
IKeyboardDevice
timestamp
ulong
root
IInputRoot
type
RawKeyEventType
key
Key
modifiers
RawInputModifiers
Properties
public Key Key { get; set; }
Property Value
- Key
public KeyDeviceType KeyDeviceType { get; set; }
Property Value
- KeyDeviceType
public string? KeySymbol { get; set; }
Property Value
- string
public RawInputModifiers Modifiers { get; set; }
Property Value
- RawInputModifiers
public PhysicalKey PhysicalKey { get; set; }
Property Value
- PhysicalKey
public RawKeyEventType Type { get; set; }
Property Value
- RawKeyEventType