RangeSlider.Avalonia 3.0.0

dotnet add package RangeSlider.Avalonia --version 3.0.0
                    
NuGet\Install-Package RangeSlider.Avalonia -Version 3.0.0
                    
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="RangeSlider.Avalonia" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RangeSlider.Avalonia" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RangeSlider.Avalonia" />
                    
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 RangeSlider.Avalonia --version 3.0.0
                    
#r "nuget: RangeSlider.Avalonia, 3.0.0"
                    
#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.
#:package RangeSlider.Avalonia@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RangeSlider.Avalonia&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RangeSlider.Avalonia&version=3.0.0
                    
Install as a Cake Tool

RangeSlider.Avalonia


alternate text is missing from this package README image

nuget nuget


Overview

This library provides a RangeSlider control with the following features:

  • Orientation
    RangeSlider support horizontal and vertical orientation

  • IsSnapToTickEnabled
    If set to true, thumbs will snap to ticks like in standard Slider

  • IsThumbOverlap
    If set to true, it allows the thumbs to overlap each other

    IsThumbOverlap=True
    alternate text is missing from this package README image

    IsThumbOverlap=False
    alternate text is missing from this package README image

  • MoveWholeRange
    If set to true, allows you to move the selected range as a whole by pulling the area between thumbs

    MoveWholeRange=True
    alternate text is missing from this package README image

  • TickBars and Tickplacement
    RangeSlider support displaying/hiding ticks and change its ticks width according to minimum and maximum values changed

Getting started

  1. Add RangeSlider.Avalonia nuget package to your project:

     dotnet add package RangeSlider.Avalonia
    
  2. Edit App.xaml file:

<Application ...
    xmlns:themes="using:RangeSlider.Avalonia.Themes.Fluent"
    ...>

	<Application.Styles>
		<themes:RangeSliderTheme />
	</Application.Styles>
	
</Application>
  1. Add RangeSlider in your view
 <Window ...
    xmlns:rs="using:RangeSlider.Avalonia.Controls"
    ...>
    
    <Grid>
       <rs:RangeSlider Minimum="0" Maximum="100" LowerSelectedValue="25" UpperSelectedValue="75" IsThumbOverlap="True"/>
    </Grid>
 </Window>

License

RangeSlider.Avalonia is licensed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RangeSlider.Avalonia:

Package Downloads
CarinaStudio.AppSuite.Core

Base libraries for Carina Studio Application Suite.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 56 6/11/2026
2.1.0 60,656 7/26/2023
2.0.0 314 7/25/2023
1.0.0 8,774 1/9/2023