Home

Awesome

RangeSlider.Avalonia


nuget nuget


Overview

This library provides a RangeSlider control with the following features:

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.