Click or drag to resize

ProgressDialogReportProgress Method (Int32)

Updates the 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 void ReportProgress(
	int percentProgress
)

Parameters

percentProgress
Type: SystemInt32
The percentage, from 0 to 100, of the operation that is complete.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionpercentProgress is out of range.
InvalidOperationExceptionThe progress dialog is not currently being displayed.
Remarks

Call this method from the DoWork event handler if you want to report progress.

This method has no effect is ProgressBarStyle is MarqueeProgressBar or None.

See Also