ProgressRing.Maui
1.1.1
dotnet add package ProgressRing.Maui --version 1.1.1
NuGet\Install-Package ProgressRing.Maui -Version 1.1.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="ProgressRing.Maui" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ProgressRing.Maui" Version="1.1.1" />
<PackageReference Include="ProgressRing.Maui" />
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 ProgressRing.Maui --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ProgressRing.Maui, 1.1.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 ProgressRing.Maui@1.1.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=ProgressRing.Maui&version=1.1.1
#tool nuget:?package=ProgressRing.Maui&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ProgressRing.Maui
A cross-platform native .NET MAUI ProgressRing (Circular Progress) control for Android, iOS, macOS, and Windows.
Supports determinate and indeterminate modes with customizable colors and stroke thickness.
✨ Features
- ✅ Determinate and indeterminate modes
- ✅ Customizable progress and track colors
- ✅ Adjustable stroke thickness
- ✅ Consistent native appearance across all platforms
📦 Installation
Install via NuGet:
dotnet add package ProgressRing.Maui
⚙️ Setup
Add the handler registration in your MauiProgram.cs
file:
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseProgressRing()
...
}
💡 Usage Example
In your XAML page:
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mhr="http://mhrastegari.com/progressring"
x:Class="MyMauiApp.MainPage">
<StackLayout Spacing="24" Padding="24">
<mhr:ProgressRing Progress="0.6"
StrokeThickness="6"
ProgressColor="#512BD4"
TrackColor="#C8C8C8"
WidthRequest="85"
HeightRequest="85" />
<mhr:ProgressRing IsIndeterminate="True"
StrokeThickness="6"
ProgressColor="DodgerBlue"
WidthRequest="85"
HeightRequest="85" />
</StackLayout>
</ContentPage>
Or in code-behind:
using ProgressRing.Maui;
var ring = new ProgressRing
{
IsIndeterminate = true,
StrokeThickness = 6,
ProgressColor = Colors.DodgerBlue,
WidthRequest = 85,
HeightRequest = 85
};
🧬 Supported Platforms
Platform | Supported | Notes |
---|---|---|
Android | ✅ | Native CircularProgressIndicator |
Windows | ✅ | Native ProgressRing control |
iOS | ✅ | Uses a custom CAShapeLayer based drawing |
macOS | ✅ | Shared with iOS implementation |
📝 License
This project is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0 was computed. 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.
-
net9.0
- Microsoft.Maui.Controls (>= 9.0.111)
-
net9.0-android35.0
- Microsoft.Maui.Controls (>= 9.0.111)
-
net9.0-ios18.0
- Microsoft.Maui.Controls (>= 9.0.111)
-
net9.0-maccatalyst18.0
- Microsoft.Maui.Controls (>= 9.0.111)
-
net9.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 9.0.111)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.