Skip to content

anurag-sukumaran/Wpf.ProgressNotifier

Repository files navigation

WPF.ProgressNotifier

progress_notifier_icon

This is a WPF control to show the progress of a long (aync) running task

Nuget

progress_notifier

Installation

Available on Nuget

Install-Package WPF.ProgressNotifier 

Usage

Add Namespace

 <xmlns:notification="clr-namespace:RbCreation.Wpf.ProgressNotifier;assembly=RbCreation.Wpf.ProgressNotifier" 
  xmlns:System="clr-namespace:System;assembly=mscorlib"  />

Add Control

<notification:ProgressNotifier x:Name="progress"  IntervalNotifier="2"   Foreground="Black" FontSize="14" FontFamily="Arial"
                                       IsBusy="True" VerticalAlignment="Center" HorizontalAlignment="Stretch" SpinnerHeight="30" SpinnerWidth="30" >
            <notification:ProgressNotifier.ProgressTextSource>
                <System:String>Retrieving..</System:String>
                <System:String>Validating the credentials..</System:String>
                <System:String>Retrieving Data..</System:String>
                <System:String>Connecting to the server..</System:String>
                <System:String>Fetching..</System:String>
            </notification:ProgressNotifier.ProgressTextSource>
        </notification:ProgressNotifier>

Set Busy (The spinner will run according to this bindable property)

 IsBusy="True 

Sample

Clone the sample code

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Copyright © RbCreation 2021

About

This is a WPF control to show the progress of a long running async task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages