Loader-Wpf
1.1.0
dotnet add package Loader-Wpf --version 1.1.0
NuGet\Install-Package Loader-Wpf -Version 1.1.0
<PackageReference Include="Loader-Wpf" Version="1.1.0" />
<PackageVersion Include="Loader-Wpf" Version="1.1.0" />
<PackageReference Include="Loader-Wpf" />
paket add Loader-Wpf --version 1.1.0
#r "nuget: Loader-Wpf, 1.1.0"
#:package Loader-Wpf@1.1.0
#addin nuget:?package=Loader-Wpf&version=1.1.0
#tool nuget:?package=Loader-Wpf&version=1.1.0
Loader-Wpf
A customizable WPF loader (spinner) control for .NET 8 applications. This library provides a flexible and easy-to-integrate loading indicator for your WPF projects, with support for custom colors, borders, and more.
Features
- Customizable loader appearance (colors, border, corner radius, font)
- Easy integration into any WPF application
- No third-party dependencies
- Supports .NET 8
Installation
- Add the
Loader-Wpf
project or NuGet package to your solution. - Reference the project or package in your WPF application.
Usage
1. Add the LoaderView to Your XAML
Add the following namespace to your XAML file: xmlns:loader="clr-namespace:Loader_Wpf;assembly=Loader-Wpf"
<loader:LoaderView Grid.Column="1" InitialDelay="50" LoaderAnimation="/iconloader.gif" LoaderText="Please Wait..." />
2. API Overview
You can customize the loader using the following dependency properties:
Property | Type | Description |
---|---|---|
LoaderAnimation | ImageSource | Set .gif image of your choice. |
InitialDelay | int | Set value for loader speed, max value is 500. |
FontFamily | FontFamily | Font for the control. |
FontSize | double | Font size. |
ForegroundColor | Brush | Text color. |
PlaceholderColor | Brush | Mask placeholder color. |
BackgroundColor | Brush | Background color. |
BorderBrushColor | Brush | Border color. |
BorderThickness | Thickness | Border thickness. |
CornerRadius | CornerRadius | Border corner radius. |
3. Notes
- To display an animated GIF, add your GIF as a LoaderAnimation and use the provided code-behind logic to animate it.
- control.LoaderAnimation = new BitmapImage(new Uri("pack://application:,,,/WpfApp1;component/iconloader.gif"));
- The loader is implemented as a WPF
Grid
-derived control for easy layout integration.
4. Attribution
Flaticon
Loading icons created by NajmunNahar - Flaticon
5. License
MIT License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows10.0.26100 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows10.0.26100
- 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.1.0 | 184 | 8/26/2025 |
Introducing new animated loader for WPF.