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
Afficher le fichier Open project: soukoku/ModernWPF Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of the ProgressViewModel class.
public ProgressViewModel ( ) : System
Résultat System

UpdateState() public méthode

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state ) : void
state TaskbarItemProgressState The state.
Résultat void

UpdateState() public méthode

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

UpdateState() public méthode

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.
Résultat void

UpdateState() public méthode

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.
Résultat void