C# Класс ModernWPF.ViewModels.ProgressViewModel

A view-model for reporting progress. This is also suitable for databinding to TaskbarItemInfo in a wpf window.
Наследование: ViewModelBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ProgressViewModel() публичный Метод

Initializes a new instance of the ProgressViewModel class.
public ProgressViewModel ( ) : System
Результат System

UpdateState() публичный Метод

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state ) : void
state TaskbarItemProgressState The state.
Результат void

UpdateState() публичный Метод

Updates the progress state.
public UpdateState ( TaskbarItemProgressState state, double progressPercent ) : void
state TaskbarItemProgressState The state.
progressPercent double The progress percent (0 to 1).
Результат void

UpdateState() публичный Метод

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.
Результат void

UpdateState() публичный Метод

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.
Результат void