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.

C#
Copy
public class EcoreKeyEventArgs : EventArgs
Inheritance
EcoreKeyEventArgs

Properties

View Source

KeyCode

Gets the KeyCode property. The return type is int.

Declaration
C#
Copy
public int KeyCode { get; }
Property Value
Type Description
System.Int32
API Level: preview
View Source

KeyName

Gets the KeyName property. The return type is string.

Declaration
C#
Copy
public string KeyName { get; }
Property Value
Type Description
System.String
API Level: preview

Methods

View Source

Create(IntPtr, EcoreEventType, IntPtr)

Creates and initializes a new instance of the EcoreKeyEventArgs class.

Declaration
C#
Copy
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.

API Level: preview