Class ProgressViewModel
The view model for the progress window.
Inheritance
System.Object
ProgressViewModel
Namespace: Phoenix.Controls
Assembly: Phoenix.Controls.ProgressView.dll
Syntax
public class ProgressViewModel : BindableBase
Constructors
View SourceProgressViewModel(Task, Window, String)
Initializes a new instance of the ProgressViewModel class.
Declaration
public ProgressViewModel(Task progressTask, Window window, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.Tasks.Task | progressTask | The progress task to run in the background while the window is up. |
System.Windows.Window | window | The containing window. |
System.String | message | The message to display on the window. |
Properties
View SourceMessage
Gets the message string to display.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceStart()
Starts the update task.
Declaration
public void Start()