Skip to content

ButtonEditor class

Represents a button editor that displays custom buttons.

Namespace: Eremex.AvaloniaUI.Controls.Editors
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class ButtonEditor : TextEditor

Public Members

name description
ButtonEditor() Initializes a new instance of the ButtonEditor class.
Buttons { get; set; } Gets or sets the collection of custom buttons displayed in the editor.
virtual DefaultButtonImage { get; } Gets the image displayed on the editor's default button.
HasButtons { get; } Gets whether the editor has buttons.
IsNullValueButtonVisible { get; } Gets whether the editor's null-value button is visible.
IsTextEditable { get; set; } Gets or sets whether users can edit the editor's text.
NullValueButtonPosition { get; set; } Gets or sets the position of the null-value button in the editor.
SetNullValueCommand { get; } Gets the command that clears the editor's value.
ShowText { get; set; } Gets or sets whether the editor displays its text.

See Also

Used in articles