Skip to content

SpinEditor class

Represents a spin editor that increments and decrements numeric values.

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

Declaration

public class SpinEditor : ButtonEditor

Public Members

name description
SpinEditor() Initializes a new instance of the SpinEditor class.
AllowRoundOutOfRangeValue { get; set; } Gets or sets whether out-of-range values are rounded to the minimum or maximum.
DecreaseCommand { get; } Gets the command that decreases the editor's value.
override DefaultButtonImage { get; }
IncreaseCommand { get; } Gets the command that increases the editor's value.
Increment { get; set; } Gets or sets the amount by which the editor's value is incremented or decremented.
Maximum { get; set; } Gets or sets the editor's maximum value.
Minimum { get; set; } Gets or sets the editor's minimum value.
Prefix { get; set; } Gets or sets the prefix displayed in the editor.
Suffix { get; set; } Gets or sets the suffix displayed in the editor.
Value { get; set; } Gets or sets the editor's value.

See Also

Used in articles