Loader-Wpf 1.1.0

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

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

  1. Add the Loader-Wpf project or NuGet package to your solution.
  2. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.