Windows Dev Center

BackgroundWorker.ProgressChanged Event

Occurs when ReportProgress is called.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

'Declaration
Public Event ProgressChanged As ProgressChangedEventHandler

This event is raised when you call the ReportProgress method.

The following code example demonstrates the use of the ProgressChanged event to report the progress of a background operation to the user. To view the complete code for this sample, see How to use a background worker for Windows Phone 8.


Private Sub bw_ProgressChanged(ByVal sender As Object, ByVal e As ProgressChangedEventArgs)
    Me.tbProgress.Text = e.ProgressPercentage.ToString() & "%"
End Sub


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft