Class EcoreKeyEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It inherits System.EventArgs. The EcoreKeyEventArgs is an EventArgs to record the Ecore event's key name and key code.
public class EcoreKeyEventArgs : EventArgs
- Inheritance
Properties
View SourceKeyCode
Gets the KeyCode property. The return type is int.
Declaration
public int KeyCode { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceKeyName
Gets the KeyName property. The return type is string.
Declaration
public string KeyName { get; }
Property Value
Type | Description |
---|---|
String |
API Level: preview
Methods
View SourceCreate(IntPtr, EcoreEventType, IntPtr)
Creates and initializes a new instance of the EcoreKeyEventArgs class.
Declaration
public static EcoreKeyEventArgs Create(IntPtr data, EcoreEventType type, IntPtr info)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | data | data |
EcoreEventType | type | type |
IntPtr | info | information |
Returns
Type | Description |
---|---|
EcoreKeyEventArgs | New instance of the EcoreKeyEventArgs class. |