BusyIndicator 2.0.0.2

.NET 6.0 .NET Framework 4.6
There is a newer version of this package available.
See the version list below for details.
dotnet add package BusyIndicator --version 2.0.0.2
NuGet\Install-Package BusyIndicator -Version 2.0.0.2
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="BusyIndicator" Version="2.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BusyIndicator --version 2.0.0.2
#r "nuget: BusyIndicator, 2.0.0.2"
#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.
// Install BusyIndicator as a Cake Addin
#addin nuget:?package=BusyIndicator&version=2.0.0.2

// Install BusyIndicator as a Cake Tool
#tool nuget:?package=BusyIndicator&version=2.0.0.2

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+</li></ul> <ul><li>.Net Core6+</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 net6.0-windows net6.0-windows7.0 net7.0-windows net7.0-windows7.0
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6

    • No dependencies.
  • net6.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.2.1 1,799 11/1/2022
2.0.2 257 10/28/2022
2.0.1.3 674 9/4/2022
2.0.1.2 251 9/4/2022
2.0.0.2 434 8/12/2022
2.0.0.1 2,769 1/13/2022
2.0.0 376 1/13/2022
1.9.0 344 12/29/2021
1.8.0 1,971 10/11/2021
1.7.0 597 7/5/2021
1.6.0 392 4/20/2021
1.5.0 231 4/12/2021
1.4.0 245 4/3/2021
1.3.0 261 3/13/2021
1.2.0 256 2/14/2021
1.1.0 301 2/3/2021
1.0.0.1 326 1/15/2021
1.0.0 391 1/15/2021

now requires .net 4.6+ or .net core 6.0+