I have an extension method that I like to use in this case:
public static void BeginInvokeIfRequired(this Dispatcher dispatcher, Action operation)
{
if (operation== null) return;
if (dispatcher.CheckAccess())
{
action();
}
else
{
dispatcher.BeginInvoke(action);
}
}
To call it, all you need to do is this:
Application.Current.Dispatcher.BeginInvokeIfRequired(()=>Instance.txtReport.Text = "value will set here.");