ookii-dialogs-wpf
ookii-dialogs-wpf copied to clipboard
ProgressDialog cannot update main UI thread
I'm trying to use the ProgressDialog to show what it's doing without stressing out the UI thread but it does not appear to be updating the UI thread when I use
Dispatcher.Invoke(() => { Items.Add(networkItem); Data.ItemsSource = Items; }, System.Windows.Threading.DispatcherPriority.Render); or
Application.Current.Dispatcher.Invoke(() => { Items.Add(networkItem); Data.ItemsSource = Items; }); I do not know if this is because of this NuGet package or not.
@MrBisquit Can you put together a reproducible example on a repo?
@MrBisquit Can you put together a reproducible example on a repo?
I will upload it shortly, I will give you the link once done.
@augustoproiete https://github.com/MrBisquit/NetworkScanner