ProgressDialog.Wpf 2.0.1

dotnet add package ProgressDialog.Wpf --version 2.0.1
NuGet\Install-Package ProgressDialog.Wpf -Version 2.0.1
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="ProgressDialog.Wpf" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProgressDialog.Wpf --version 2.0.1
#r "nuget: ProgressDialog.Wpf, 2.0.1"
#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 ProgressDialog.Wpf as a Cake Addin
#addin nuget:?package=ProgressDialog.Wpf&version=2.0.1

// Install ProgressDialog.Wpf as a Cake Tool
#tool nuget:?package=ProgressDialog.Wpf&version=2.0.1

BuildTest

ProgressDialog

Simple, easy to use dialog with ProgressBar for WPF & Avalonia with the MVVM pattern, that can either be embedded into an existing window or be displayed as a dialog in it's own window.

The package consists of two parts:

  • The user interface side, either as standalone ProgressDialogWindow, or as ProgressDialogUserControl to be embedded into an existing window.
  • A ProgressStatus object implementing the IProgressStatus interface. The ProgressStatus object can be passed to the model and any long running task can use it to update the status in the view, receive a cancellation request etc. The ProgressStatus object is also passed as the DataContext to the ProgressDialogUserControl, so the view can bind to it's properties in a clean MVVM-fashion.

How to use

Simply add one of these nuget packages to your project:

Wpf

Avalonia

If you want to integrate the ProgressStatus object into a model in e.g. a netStandard library without support for UI frameworks, use this package in the model:

nuget

It provides the ProgressStatus class - and the IProgressStatus interface, in case you want to implement it yourself - seperately from the UI components.

Example

https://github.com/ax-meyer/ProgressDialog/tree/master/ProgressDialog/ProgressDialogExample provides a sample view model showing the usage of the ProgressDialog.

The dialog itself is just a plain, standard dialog per default: Screenshot of the progress dialog

Since it just uses standard components (button, progress bar etc.) you can adapt the style however you like.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1 189 7/8/2023
2.0.1-beta 102 7/7/2023