# TextEditor class

Represents an editor that allows users to enter and edit text.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Editors`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class TextEditor : BaseEditor
```

## Public Members

| name | description |
| --- | --- |
| [TextEditor](TextEditor/TextEditor.md)() | Initializes a new instance of the TextEditor class. |
| [AcceptsReturn](TextEditor/AcceptsReturn.md) { get; set; } | Gets or sets whether the user can insert line breaks by pressing Enter. |
| [HighlightedText](TextEditor/HighlightedText.md) { get; } | Gets the text highlighted in the editor. |
| [Mask](TextEditor/Mask.md) { get; set; } | Gets or sets the mask pattern applied to the editor's input. |
| [MaskCulture](TextEditor/MaskCulture.md) { get; set; } | Gets or sets the culture used to interpret the mask. |
| [MaskType](TextEditor/MaskType.md) { get; set; } | Gets or sets the type of the editor's input mask. |
| [MaskUseAsDisplayFormat](TextEditor/MaskUseAsDisplayFormat.md) { get; set; } | Gets or sets whether the mask is used to format the editor's display text. |
| [SelectionEnd](TextEditor/SelectionEnd.md) { get; set; } | Gets or sets the ending position of the editor's text selection. |
| [SelectionStart](TextEditor/SelectionStart.md) { get; set; } | Gets or sets the starting position of the editor's text selection. |
| [TextWrapping](TextEditor/TextWrapping.md) { get; set; } | Gets or sets how the editor's text wraps. |
| [ValidateOnInput](TextEditor/ValidateOnInput.md) { get; set; } | Gets or sets whether the editor validates its value as the user types. |
| [Watermark](TextEditor/Watermark.md) { get; set; } | Gets or sets the prompt text displayed when the editor's value is empty. |
| override [ClearSelection](TextEditor/ClearSelection.md)() | Clears the text selection in the editor. |
| override [Render](TextEditor/Render.md)(…) | Renders the editor's visual appearance. |
| override [SelectAll](TextEditor/SelectAll.md)() | Selects all the editor's text. |

## See Also

* class [BaseEditor](./BaseEditor.md)
* namespace [Eremex.AvaloniaUI.Controls.Editors](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
