C# Class ModernWPF.ViewModels.ProgressViewModel

A view-model for reporting progress. This is also suitable for databinding to TaskbarItemInfo in a wpf window.
Inheritance: ViewModelBase
Datei anzeigen Open project: soukoku/ModernWPF Class Usage Examples

Public Methods

Method Description
ProgressViewModel ( ) : System

Initializes a new instance of the ProgressViewModel class.

UpdateState ( TaskbarItemProgressState state ) : void

Updates the progress state.

UpdateState ( TaskbarItemProgressState state, double progressPercent ) : void

Updates the progress state.

UpdateState ( TaskbarItemProgressState state, double progressPercent, string info ) : void

Updates the progress state.

UpdateState ( TaskbarItemProgressState state, double progressPercent, string info, StatusType infoType ) : void

Updates the progress state.

Method Details

ProgressViewModel() public method

Initializes a new instance of the ProgressViewModel class.
public ProgressViewModel ( ) : System
return System

UpdateState() public method

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state ) : void
state TaskbarItemProgressState The state.
return void

UpdateState() public method

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state, double progressPercent ) : void
state TaskbarItemProgressState The state.
progressPercent double The progress percent (0 to 1).
return void

UpdateState() public method

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state, double progressPercent, string info ) : void
state TaskbarItemProgressState The state.
progressPercent double The progress percent (0 to 1).
info string The extra information.
return void

UpdateState() public method

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state, double progressPercent, string info, StatusType infoType ) : void
state TaskbarItemProgressState The state.
progressPercent double The progress percent (0 to 1).
info string The extra information.
infoType StatusType Type of the information.
return void