TextInputMethodClient Class

Definition

Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract class TextInputMethodClient
Inheritance
Object    TextInputMethodClient

Properties

CursorRectangle Gets the cursor rectangle relative to the TextViewVisual
Selection Gets or sets the curent selection range within current surrounding text.
SupportsPreedit Indicates if TextViewVisual is capable of displaying non-committed input on the cursor position
SupportsSurroundingText Indicates if text input client is capable of providing the text around the cursor
SurroundingText Returns the text around the cursor, usually the current paragraph
TextViewVisual The visual that's showing the text

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
ExecuteContextMenuAction(ContextMenuAction) Execute specific context menu actions
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RaiseCursorRectangleChanged 
RaiseSelectionChanged 
RaiseSurroundingTextChanged 
RaiseTextViewVisualChanged 
RequestReset 
SetPreeditText(String) Sets the non-committed input string
SetPreeditText(String, NullableInt32) Sets the non-committed input string and cursor offset in that string
ShowInputPanel 
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

CursorRectangleChanged Fires when the cursor rectangle has changed
ResetRequested Fires when client wants to reset IME state
SelectionChanged Fires when the selection has changed
SurroundingTextChanged Fires when the surrounding text has changed
TextViewVisualChanged Fires when the text view visual has changed

See Also