# ButtonEditor class

Represents a button editor that displays custom buttons.

**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 ButtonEditor : TextEditor
```

## Public Members

| name | description |
| --- | --- |
| [ButtonEditor](ButtonEditor/ButtonEditor.md)() | Initializes a new instance of the ButtonEditor class. |
| [Buttons](ButtonEditor/Buttons.md) { get; set; } | Gets or sets the collection of custom buttons displayed in the editor. |
| virtual [DefaultButtonImage](ButtonEditor/DefaultButtonImage.md) { get; } | Gets the image displayed on the editor's default button. |
| [HasButtons](ButtonEditor/HasButtons.md) { get; } | Gets whether the editor has buttons. |
| [IsNullValueButtonVisible](ButtonEditor/IsNullValueButtonVisible.md) { get; } | Gets whether the editor's null-value button is visible. |
| [IsTextEditable](ButtonEditor/IsTextEditable.md) { get; set; } | Gets or sets whether users can edit the editor's text. |
| [NullValueButtonPosition](ButtonEditor/NullValueButtonPosition.md) { get; set; } | Gets or sets the position of the null-value button in the editor. |
| [SetNullValueCommand](ButtonEditor/SetNullValueCommand.md) { get; } | Gets the command that clears the editor's value. |
| [ShowText](ButtonEditor/ShowText.md) { get; set; } | Gets or sets whether the editor displays its text. |

## See Also

* class [TextEditor](./TextEditor.md)
* namespace [Eremex.AvaloniaUI.Controls.Editors](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
