Show / Hide Table of Contents

Class ProgressBarViewModel

View model class that provides properties and methods for showing and updating a progress bar in a long-running operation. It also provides functionality for canceling the operation.

Inheritance
object
ViewModelBase
ProgressBarViewModel
Implements
IProgressBarViewModel
INotifyPropertyChanged
Inherited Members
ViewModelBase.RaisePropertyChanged(string)
ViewModelBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public class ProgressBarViewModel : ViewModelBase, IProgressBarViewModel, INotifyPropertyChanged

Constructors

| Edit this page View Source

ProgressBarViewModel()

Declaration
public ProgressBarViewModel()

Properties

| Edit this page View Source

CancelOperationCommand

Gets or sets the cancel operation command.

Declaration
public ICommand CancelOperationCommand { get; }
Property Value
Type Description
ICommand
| Edit this page View Source

IsCancelable

Gets or sets value indicating if the operation is cancelable.

Declaration
public bool IsCancelable { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsProgressBarVisible

Gets or sets a value indicating whether the progress bar is visible.

Declaration
public bool IsProgressBarVisible { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

ProgressBarMessage

Gets or sets the progress bar message.

Declaration
public string ProgressBarMessage { get; set; }
Property Value
Type Description
string

Events

| Edit this page View Source

OnCancelRequested

Event raised when the cancel operation is requested.

Declaration
public event EventHandler? OnCancelRequested
Event Type
Type Description
EventHandler

Implements

IProgressBarViewModel
INotifyPropertyChanged
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com