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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Simplecto.Avalonia.NumericSpinner" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Simplecto.Avalonia.NumericSpinner" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="Simplecto.Avalonia.NumericSpinner" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Simplecto.Avalonia.NumericSpinner --version 1.0.6
                    
#r "nuget: Simplecto.Avalonia.NumericSpinner, 1.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Simplecto.Avalonia.NumericSpinner&version=1.0.6
                    
Install Simplecto.Avalonia.NumericSpinner as a Cake Addin
#tool nuget:?package=Simplecto.Avalonia.NumericSpinner&version=1.0.6
                    
Install Simplecto.Avalonia.NumericSpinner as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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