I am not sure why it is not exposed but if you want to check if you are on the same thread as the current form you need to use the dsipatcher check access.
void BillboxHolder_ProgressChanged(object sender, System.ComponentModel.ProgressChangedEventArgs e)
{
if (this.LayoutRoot.Dispatcher.CheckAccess())
{
this.ProgressBox_Status.Visibility = Visibility.Visible;
this.ProgressBox_Status.Value = e.ProgressPercentage;
this.TextBlock_Status.Text = "Processing...";
}
else
{
this.LayoutRoot.Dispatcher.Invoke(new EventHandler
}
}
first test
second test
third test