Simplecto.Avalonia.NumericSpinner
1.0.6
dotnet add package Simplecto.Avalonia.NumericSpinner --version 1.0.6
NuGet\Install-Package Simplecto.Avalonia.NumericSpinner -Version 1.0.6
<PackageReference Include="Simplecto.Avalonia.NumericSpinner" Version="1.0.6" />
<PackageVersion Include="Simplecto.Avalonia.NumericSpinner" Version="1.0.6" />
<PackageReference Include="Simplecto.Avalonia.NumericSpinner" />
paket add Simplecto.Avalonia.NumericSpinner --version 1.0.6
#r "nuget: Simplecto.Avalonia.NumericSpinner, 1.0.6"
#addin nuget:?package=Simplecto.Avalonia.NumericSpinner&version=1.0.6
#tool nuget:?package=Simplecto.Avalonia.NumericSpinner&version=1.0.6
A NumericSpinner for Avalonia, with scalable Height
and bindable Value
and TextBackground
, in the traditional style with vertically stacked spinner buttons.
Ctrl key + spinner button speeds value change by a factor of 10.
Direct key input is prevented if the new value would be outside of the range specified by MaxValue
and MinValue
.
The ValueChanged
event fires whenever Value
changes, whereas UserValueChanged
fires only when Value
is changed by user input.
FontSize
cannot be set because it automatically scales to the Height
set for the NumericSpinner
control.
However, setting TextPadding.Top
/.Bottom
can provide internal padding, while also reducing the font size to keep it centered.
Use TextBackground
(not NumericSpinner.Background
) to change the background inside the Value
area.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Avalonia (>= 11.2.7)
- Avalonia.ReactiveUI (>= 11.2.7)
- Avalonia.Themes.Fluent (>= 11.2.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.6 | 164 | 4/15/2025 |
ver 1.0.6: Fixed UserValueChanged quirk