SliderRange.MAUI 1.0.1

dotnet add package SliderRange.MAUI --version 1.0.1
                    
NuGet\Install-Package SliderRange.MAUI -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="SliderRange.MAUI" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SliderRange.MAUI" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SliderRange.MAUI" />
                    
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 SliderRange.MAUI --version 1.0.1
                    
#r "nuget: SliderRange.MAUI, 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.
#:package SliderRange.MAUI@1.0.1
                    
#: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=SliderRange.MAUI&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SliderRange.MAUI&version=1.0.1
                    
Install as a Cake Tool

MauiRangeControl

A customizable Range Slider control for .NET MAUI applications, featuring:

  • Minimum and Maximum values
  • Dual thumbs for selecting a range
  • Track and range colors
  • Customizable thumb size and color
  • Floating labels with currency, percentage, or custom formatting
  • Label alignment (Left, Center, Right)
  • Fully compatible with Android, iOS, Mac Catalyst, and Windows

Preview

MauiRangeControl Preview


Features

  • Range selection: Select a minimum and maximum value with two thumbs.
  • Custom labels: Show values as currency, percentage, or custom string format.
  • Customizable appearance: Track color, range color, thumb color, and label colors.
  • Label alignment: Horizontal alignment (Left, Center, Right) for the floating label.
  • MAUI-friendly: Fully supports .NET MAUI cross-platform apps.

Installation

Install the NuGet package via NuGet Package Manager or dotnet CLI:

dotnet add package MauiRangeControl --version 1.0.0

Usage

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:controls="clr-namespace:MauiRangeControl;assembly=MauiRangeControl"
             x:Class="YourApp.MainPage">

    <VerticalStackLayout Padding="20">

        <controls:RangeSlider x:Name="SliderControl"
                              Minimum="0"
                              Maximum="100"
                              SelectedMin="10"
                              SelectedMax="90"
                              TrackColor="LightGray"
                              RangeColor="Green"
                              ThumbColor="White"
                              ThumbBorderColor="Gray"
                              LabelBackgroundColor="#4CAF50"
                              LabelTextColor="White"
                              LabelTextAlignment="Center"
                              TrackHeight="8"
                              ThumbRadius="16"
                              HeightRequest="80" />

    </VerticalStackLayout>

</ContentPage>

Usage (C# Label Formatter)

You can display percentage, currency, or custom formatted labels:

public MainPage()
{
    InitializeComponent();

    // Currency
    SliderControl.LabelFormatter = value => $"${value:F0}";

    // Percentage
    // SliderControl.LabelFormatter = value => $"{value:F0}%";
}


Example

This package is ideal for scenarios such as:

  • Price range selection in shopping apps
  • Discount or percentage selection
  • Any situation requiring a min-max range slider

License

MIT License © asfend

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
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.1 101 1/29/2026