Class EcoreKeyEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
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
-
objectSystem.EventArgsEcoreKeyEventArgs
Properties
View SourceKeyCode
Gets the KeyCode property. The return type is int.
Declaration
public int KeyCode { get; }
Property Value
Type | Description |
---|---|
int |
KeyName
Gets the KeyName property. The return type is string.
Declaration
public string KeyName { get; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|---|
System.IntPtr | data | data |
EcoreEventType | type | type |
System.IntPtr | info | information |
Returns
Type | Description |
---|---|
EcoreKeyEventArgs | New instance of the EcoreKeyEventArgs class. |