Spyder.Controls.Spinner 1.0.1

dotnet add package Spyder.Controls.Spinner --version 1.0.1                
NuGet\Install-Package Spyder.Controls.Spinner -Version 1.0.1                
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="Spyder.Controls.Spinner" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spyder.Controls.Spinner --version 1.0.1                
#r "nuget: Spyder.Controls.Spinner, 1.0.1"                
#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.
// Install Spyder.Controls.Spinner as a Cake Addin
#addin nuget:?package=Spyder.Controls.Spinner&version=1.0.1

// Install Spyder.Controls.Spinner as a Cake Tool
#tool nuget:?package=Spyder.Controls.Spinner&version=1.0.1                

WPF Custom Numeric & Integer Spinners

A custom numeric and integer spinner controls

Numeric Spinner

Properties

  1. Value decimal - The bindable decimal value.
  2. MaxValue decimal - The maximum value boundary the decimal value can reach.
  3. MinValue decimal - The minimum value boundary the decimal value can reach.
  4. DecimalPlaces int - The number of decimal places (default is 0)
  5. MaxDecimalPlaces int - The upper decimal places boundary
  6. MinDecimalPlaces int - The lower decimal places boundary
  7. HasThousandSeparator bool - A boolean indicating whether the control should have a thousand separator.
  8. CanAutoSelect bool - A boolean indicating whether the value in the control can be auto selected when clicked.
  9. MinorStep decimal - The minimum step to increase or decrease the value by when the increase or decrease commands are requested.
  10. MajorStep decimal - The major step to increase or decrease the value by when page up or page down keys are pressed.
  11. CanUndo bool - A boolean indicating whether the control can undo it's value.

Integer Spinner

Properties

  1. Value int - The bindable integer value.
  2. MaxValue int - The maximum value boundary the integer value can reach.
  3. MinValue int - The minimum value boundary the integer value can reach.
  4. HasThousandSeparator bool - A boolean indicating whether the control should have a thousand separator.
  5. CanAutoSelect bool - A boolean indicating whether the value in the control can be auto selected when clicked.
  6. MinorStep int - The minimum step to increase or decrease the value by when the increase or decrease commands are requested.
  7. MajorStep int - The major step to increase or decrease the value by when page up or page down keys are pressed.
  8. CanUndo bool - A boolean indicating whether the control can undo it's value.

Usage

Add the namespace xmlns:spinner="clr-namespace:Spyder.Controls.Spinner;assembly=Spyder.Controls.Spinner"

Use the control

    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
        <spinner:NumericSpinner
            Background="Black"
            BorderThickness="0"
            CornerRadius="4"
            FontSize="15"
            Foreground="Red" />
        <spinner:IntegerSpinner
            Margin="2"
            Padding="3"
            Background="White"
            BorderThickness="0"
            CornerRadius="4"
            FontSize="12"
            Foreground="Violet" />
    </StackPanel>
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0-windows7.0

    • No dependencies.

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.1 239 12/2/2022