BusyIndicator 2.0.0
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" />
paket add BusyIndicator --version 2.0.0
#r "nuget: BusyIndicator, 2.0.0"
// 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
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:
Install the package via NuGet: <pre>Install-Package BusyIndicator</pre>
Add resource call to App.xaml: <pre><code><Application.Resources> <ResourceDictionary Source="pack://application:,,,/BusyIndicator;component/Theme/Default.xaml"/> </Application.Resources> </code></pre>
Add a reference to the library in your view: <pre>xmlns:busyIndicator="https://github.com/Peoky/BusyIndicator"</pre>
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>
- 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 |
-
.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.
1. New indicator => Escalade <br /> 2. All indicators colors can be changed now (Ellipse + Swirl)