BusyIndicator 2.0.0.2

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 Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 8,187 11/1/2022
2.0.2 392 10/28/2022
2.0.1.3 1,071 9/4/2022
2.0.1.2 365 9/4/2022
2.0.0.2 606 8/12/2022
2.0.0.1 4,266 1/13/2022
2.0.0 537 1/13/2022
1.9.0 714 12/29/2021
1.8.0 2,171 10/11/2021
1.7.0 714 7/5/2021
1.6.0 488 4/20/2021
1.5.0 314 4/12/2021
1.4.0 331 4/3/2021
1.3.0 352 3/13/2021
1.2.0 331 2/14/2021
1.1.0 400 2/3/2021
1.0.0.1 403 1/15/2021
1.0.0 507 1/15/2021

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