ProgressDialog.Wpf
2.0.1
dotnet add package ProgressDialog.Wpf --version 2.0.1
NuGet\Install-Package ProgressDialog.Wpf -Version 2.0.1
<PackageReference Include="ProgressDialog.Wpf" Version="2.0.1" />
paket add ProgressDialog.Wpf --version 2.0.1
#r "nuget: ProgressDialog.Wpf, 2.0.1"
// 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
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 asProgressDialogUserControl
to be embedded into an existing window. - A
ProgressStatus
object implementing theIProgressStatus
interface. TheProgressStatus
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. TheProgressStatus
object is also passed as theDataContext
to theProgressDialogUserControl
, 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:
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:
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:
Since it just uses standard components (button, progress bar etc.) you can adapt the style however you like.
Product | Versions 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. |
-
.NETCoreApp 3.1
- ProgressDialogStatus (>= 2.0.1)
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 | 229 | 7/8/2023 |
2.0.1-beta | 111 | 7/7/2023 |