Class InputMethodContext.EventData
Definition
- Assembly:
- Tizen.NUI.dll
This structure is used to pass on data from the IMF regarding predictive text.
public class InputMethodContext.EventData : IDisposable
- Inheritance
-
objectInputMethodContext.EventData
- Implements
-
System.IDisposable
Constructors
View SourceEventData()
The default constructor.
Declaration
public EventData()
EventData(EventType, string, int, int)
The constructor.
Declaration
public EventData(InputMethodContext.EventType aEventName, string aPredictiveString, int aCursorOffset, int aNumberOfChars)
Parameters
Type | Name | Description |
---|---|---|
InputMethodContext.EventType | aEventName | The name of the event from the IMF. |
string | aPredictiveString | The pre-edit or the commit string. |
int | aCursorOffset | Start the position from the current cursor position to start deleting characters. |
int | aNumberOfChars | The number of characters to delete from the cursorOffset. |
Fields
View Sourcedisposed
A flag to check if it is already disposed.
Declaration
protected bool disposed
Field Value
Type | Description |
---|---|
bool |
swigCMemOwn
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Type | Description |
---|---|
bool |
Properties
View SourceCursorOffset
The start position from the current cursor position to start deleting characters.
Declaration
public int CursorOffset { get; set; }
Property Value
Type | Description |
---|---|
int |
EventName
The name of the event from the IMF.
Declaration
public InputMethodContext.EventType EventName { get; set; }
Property Value
Type | Description |
---|---|
InputMethodContext.EventType |
NumberOfChars
The number of characters to delete from the cursorOffset.
Declaration
public int NumberOfChars { get; set; }
Property Value
Type | Description |
---|---|
int |
PredictiveString
The pre-edit or the commit string.
Declaration
public string PredictiveString { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceDispose()
The dispose pattern.
Declaration
public void Dispose()
Dispose(DisposeTypes)
Dispose.
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
~EventData()
Dispose.
Declaration
protected ~EventData()
Implements
System.IDisposable