BusyIndicator 2.0.0

.NET 5.0 .NET Core 3.1 .NET Framework 4.6
There is a newer version of this package available.
See the version list below for details.
Install-Package BusyIndicator -Version 2.0.0
dotnet add package BusyIndicator --version 2.0.0
<PackageReference Include="BusyIndicator" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BusyIndicator --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BusyIndicator, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BusyIndicator as a Cake Addin
#addin nuget:?package=BusyIndicator&version=2.0.0

// Install BusyIndicator as a Cake Tool
#tool nuget:?package=BusyIndicator&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BusyIndicator

BusyIndicator for Windows Presentation Foundation (WPF)

<p align="center"> <img src="https://github.com/Peoky/BusyIndicator/blob/master/Images/Demo.gif" alt="Demo" style="width: 50%;"></img> </p>

<p align="center"> <img src="https://github.com/Peoky/BusyIndicator/blob/master/Images/Indicators.gif" alt="Indicator Types" width="95%"></img> </p>

Prerequisites:

<ul><li>.Net Framework 4.6 or higher</li></ul> <ul><li>.Net Core 3.1</li></ul> <ul><li>.Net 5.0</li></ul>

How to use:

  1. Install the package via NuGet: <pre>Install-Package BusyIndicator</pre>

  2. Add resource call to App.xaml: <pre><code><Application.Resources> <ResourceDictionary Source="pack://application:,,,/BusyIndicator;component/Theme/Default.xaml"/> </Application.Resources> </code></pre>

  3. Add a reference to the library in your view: <pre>xmlns:busyIndicator="https://github.com/Peoky/BusyIndicator"</pre>

  4. Create a BusyMask on top of main view: <pre><code><busyindicator:BusyMask x:Name="BusyIndicator" IsBusy="False" IndicatorType="Dashes" BusyContent="Please wait..." >

       <... MAIN VIEW GOES HERE... >
    

</busyIndicator:BusyMask></code></pre>

  1. Bind or Set IsBusy property:

How to change indicator colors:

Indicator colors can be changed now, All you have to do is overriding the colors on your Window, UserControl or even BusyMask resources as following: <pre> <Window.Resources> <SolidColorBrush x:Key="IndicatorForeground" Color="Orange" /> <SolidColorBrush x:Key="IndicatorBackground" Color="WhiteSmoke" /> </Window.Resources> </pre>

You can also use gradients:

<pre> <LinearGradientBrush x:Key="IndicatorForeground" StartPoint="0.5,0" EndPoint="0.5,1"> <GradientStop Offset="1" Color="#eaafc8" /> <GradientStop Offset="0" Color="#654ea3" /> </LinearGradientBrush> </pre>

Hint:

Not all indicators have background, so that change background might not affect all indicators.

If you like this, give it a * please.

<a href="https://www.buymeacoffee.com/coffeemakes" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-green.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

Product Versions
.NET net5.0 net5.0-windows net5.0-windows7.0 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • net5.0-windows7.0

    • 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
2.0.0.1 1,061 1/13/2022
2.0.0 105 1/13/2022
1.9.0 175 12/29/2021
1.8.0 824 10/11/2021
1.7.0 464 7/5/2021
1.6.0 287 4/20/2021
1.5.0 138 4/12/2021
1.4.0 148 4/3/2021
1.3.0 160 3/13/2021
1.2.0 158 2/14/2021
1.1.0 195 2/3/2021
1.0.0.1 226 1/15/2021
1.0.0 265 1/15/2021

1. New indicator =&gt; Escalade <br /> 2. All indicators colors can be changed now (Ellipse + Swirl)