Mai Hu Na

Mai Hu Na

  • NA
  • 86
  • 131.2k

WPF Dispatcher.BeginInvoke() method update too late UI

Jan 25 2013 5:03 AM
hi All,
          

          i am using multiple thred in Wpf application. i am updating UI  from another thred to display log of process

         using this line 

         " System.Windows.Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => updateText(message)));"

          but log updating remain behind from the actual current process
       
i am getting bored for this process  so please help