Skip to content

ButtonSettings class

Provides appearance and behavior settings for an editor button.

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

Declaration

public class ButtonSettings : Control

Public Members

name description
ButtonSettings() The default constructor.
Background { get; set; } Gets or sets the button's background.
BorderBrush { get; set; } Gets or sets the brush that paints the button's border.
BorderThickness { get; set; } Gets or sets the button's border thickness.
ButtonKind { get; set; } Gets or sets the type of the button.
ClickMode { get; set; } Gets or sets when the Click event is raised.
Command { get; set; } Gets or sets the command associated with the button.
CommandParameter { get; set; } Gets or sets the parameter passed to the button's command.
Content { get; set; } Gets or sets the button's content.
ContentTemplate { get; set; } Gets or sets the template used to display the button's content.
Glyph { get; set; } Gets or sets the image displayed on the button.
GlyphSize { get; set; } Gets or sets the size of the button's glyph.
IsChecked { get; set; } Gets or sets whether the button is checked.
IsLeft { get; set; } Gets or sets whether the button is displayed on the editor's left side.
event Click Occurs when the button is clicked.

See Also

Used in articles