Skip to content

ToolbarEditorItem class

Displays an editor within a toolbar, menu, or ribbon.

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

Declaration

public class ToolbarEditorItem : ToolbarItem

Constructors

name description
ToolbarEditorItem() The default constructor.

Properties

name description
AllowImmediateEditorValuePosting { get; set; } Gets or sets whether editor values are posted immediately, or null to use the editor's default behavior.
EditorAlignment { get; set; } Gets or sets the position of the editor relative to the item header.
EditorHeight { get; set; } Gets or sets the height of the item's editor.
EditorProperties { get; set; } Gets or sets the settings used to configure the item's editor.
EditorTemplate { get; set; } Gets or sets the template used to create the item's editor.
EditorValue { get; set; } Gets or sets the value edited by the item's editor.
EditorWidth { get; set; } Gets or sets the width of the item's editor.
ReadOnly { get; set; } Gets or sets whether the editor prevents users from changing its value.
SizeMode { get; set; } Gets or sets how the editor item uses the available space.

Methods

name description
PostEditor() Posts the active editor's value.

Events

name description
event EditorValueChanged Occurs when the editor's value changes.

See Also

Used in articles