Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BackgroundWorker.ProgressChanged Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when ReportProgress is called.

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

public event ProgressChangedEventHandler ProgressChanged

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 void bw_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
    this.tbProgress.Text = (e.ProgressPercentage.ToString() + "%");
}


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show: