TextInputMethodClient Class
Definition
Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class TextInputMethodClient
Public MustInherit Class TextInputMethodClient
[<AbstractClassAttribute>]
type TextInputMethodClient = class end
| Inheritance | Object → TextInputMethodClient |
Constructors
| TextInputMethodClient() | Initializes a new instance of the TextInputMethodClient class |
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 |
| 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() | |
| RaiseInputPaneActivationRequested() | |
| 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() | Obsolete. |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |
Events
| CursorRectangleChanged | Fires when the cursor rectangle has changed |
| InputPaneActivationRequested | Fires when client requests the input panel be opened. |
| 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 |