Skip to main content

TextInputMethodClient Class

Definition

Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public abstract class TextInputMethodClient
View Source
InheritanceObject → TextInputMethodClient

Constructors

TextInputMethodClient()Initializes a new instance of the TextInputMethodClient class

Properties

CursorRectangleGets the cursor rectangle relative to the TextViewVisual
SelectionGets or sets the curent selection range within current surrounding text.
SupportsPreeditIndicates if TextViewVisual is capable of displaying non-committed input on the cursor position
SupportsSurroundingTextIndicates if text input client is capable of providing the text around the cursor
SurroundingTextReturns the text around the cursor, usually the current paragraph
TextViewVisualThe 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
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates 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, Nullable(Int32))Sets the non-committed input string and cursor offset in that string
ShowInputPanel() 
ToString()Returns a string that represents the current object.
(Inherited from Object)

Events

CursorRectangleChangedFires when the cursor rectangle has changed
ResetRequestedFires when client wants to reset IME state
SelectionChangedFires when the selection has changed
SurroundingTextChangedFires when the surrounding text has changed
TextViewVisualChangedFires when the text view visual has changed

See Also

Reference

Avalonia.Input.TextInput Namespace