WPF Bubbling a Command from a Child View

If you are writing a WPF application using re-usable views, you will at some point want to bubble an event or command up from the child view to its parent view. Luckily it is quite straight-forward to to with a RoutedEvent. In our example, we will have the following components: MainWindow This is our parentContinue reading “WPF Bubbling a Command from a Child View”

WPF BackgroundWorker and the Mysterious 0x80131623 Error

If you use Windows Presentation Foundation (WPF), you are very likely to come across the awesome BackgroundWorker and its best friend the Dispatcher. The BackgroundWorker lets you chuck a long-running process onto another thread, allowing the UI to remain responsive. When the BackgroundWorker needs to pop something on the UI, you ask the Dispatcher toContinue reading “WPF BackgroundWorker and the Mysterious 0x80131623 Error”