Click or drag to resize

TaskDialogProgressBarValue Property

Gets or sets the current value of the task dialog's progress bar.

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int ProgressBarValue { get; set; }

Property Value

Type: Int32
The current value of the task dialog's progress bar. The default value is 0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe new property value is smaller than ProgressBarMinimum or larger than ProgressBarMaximum.
Remarks
This property is only used if the ProgressBarStyle property is ProgressBar.
Note Note
Updating the value of the progress bar while the dialog is visible may only be done from the thread on which the task dialog was created.
See Also