Class TextEditingEventArgs
This event is triggered when the user is composing text using something like IME (e.g. Chinese, Japanese, or Korean).
Inherited Members
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class TextEditingEventArgs : WindowEventArgs
Constructors
TextEditingEventArgs(WindowHandle, string, int, int)
Initializes a new instance of the TextEditingEventArgs class.
Declaration
public TextEditingEventArgs(WindowHandle window, string candidate, int cursor, int length)
Parameters
Type | Name | Description |
---|---|---|
WindowHandle | window | The window in which the text is being edited. |
string | candidate | The candidate string. |
int | cursor | The caret position within the candidate string. |
int | length | The length of the text being edited. |
Properties
Candidate
The candidate string.
Declaration
public string Candidate { get; }
Property Value
Type | Description |
---|---|
string |
Cursor
The caret position within the candidate string.
Declaration
public int Cursor { get; }
Property Value
Type | Description |
---|---|
int |
Length
The length of the text being edited.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
int |