Class InputMethodContext.EventData

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

This structure is used to pass on data from the IMF regarding predictive text.

C#
Copy
public class InputMethodContext.EventData : IDisposable
Inheritance
object
InputMethodContext.EventData
Implements
System.IDisposable

Constructors

View Source

EventData()

The default constructor.

Declaration
C#
Copy
public EventData()
View Source

EventData(EventType, string, int, int)

The constructor.

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

disposed

A flag to check if it is already disposed.

Declaration
C#
Copy
protected bool disposed
Field Value
Type Description
bool
View Source

swigCMemOwn

The state if it owns memory

Declaration
C#
Copy
protected bool swigCMemOwn
Field Value
Type Description
bool

Properties

View Source

CursorOffset

The start position from the current cursor position to start deleting characters.

Declaration
C#
Copy
public int CursorOffset { get; set; }
Property Value
Type Description
int
View Source

EventName

The name of the event from the IMF.

Declaration
C#
Copy
public InputMethodContext.EventType EventName { get; set; }
Property Value
Type Description
InputMethodContext.EventType
View Source

NumberOfChars

The number of characters to delete from the cursorOffset.

Declaration
C#
Copy
public int NumberOfChars { get; set; }
Property Value
Type Description
int
View Source

PredictiveString

The pre-edit or the commit string.

Declaration
C#
Copy
public string PredictiveString { get; set; }
Property Value
Type Description
string

Methods

View Source

Dispose()

The dispose pattern.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(DisposeTypes)

You can override it to clean-up your own resources.

Declaration
C#
Copy
protected virtual void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
View Source

~EventData()

Releases the resource.

Declaration
C#
Copy
protected ~EventData()

Implements

System.IDisposable