| ProgressDialogReportProgress Method (Int32, String, String, Object) |
Updates the dialog's progress bar.
Namespace:
Ookii.Dialogs
Assembly:
Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ReportProgress(
int percentProgress,
string text,
string description,
Object userState
)
Public Sub ReportProgress (
percentProgress As Integer,
text As String,
description As String,
userState As Object
)
public:
void ReportProgress(
int percentProgress,
String^ text,
String^ description,
Object^ userState
)
member ReportProgress :
percentProgress : int *
text : string *
description : string *
userState : Object -> unit
Parameters
- percentProgress
- Type: SystemInt32
The percentage, from 0 to 100, of the operation that is complete. - text
- Type: SystemString
The new value of the progress dialog's primary text message, or to leave the value unchanged. - description
- Type: SystemString
The new value of the progress dialog's additional description message, or to leave the value unchanged. - userState
- Type: SystemObject
A state object that will be passed to the ProgressChanged event handler.
Exceptions Remarks Call this method from the
DoWork event handler if you want to report progress.
See Also