Struct TextInputEventArgs
Raised when a single unicode code point is input.
Inherited Members
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct TextInputEventArgs
Constructors
TextInputEventArgs(int)
Initializes a new instance of the TextInputEventArgs struct.
Declaration
public TextInputEventArgs(int unicode)
Parameters
| Type | Name | Description |
|---|---|---|
| int | unicode | The unicode code point that was input. |
Properties
AsString
Gets the string representation of the input Unicode code point.
Declaration
public string AsString { get; }
Property Value
| Type | Description |
|---|---|
| string |
Unicode
Gets the Unicode code point that was input.
Declaration
public int Unicode { get; }
Property Value
| Type | Description |
|---|---|
| int |