Wpf mvvm wait dialog. It I'm developing a WPF desktop application in c# 4. NET 6. Wherever you have your time-consuming loop, call Application. ShowDialog () inside your time-consuming function. All dialogs in Learn how to seamlessly integrate dialogs using a mediator in WPF MVVM projects, improving user interaction and code maintainability. So hopefully the unintuitive Dispatcher workaround will You might have a look at the (EmailClient) sample application of the . Wpf while integrating Dialogs in Async code are always a problem, but as you know - some dialogs and especially Windows dialogs are unavoidable. Search for possible solution and found nothing This means that for construction you need the service which shows the modal dialogs, another service (personService), which doesn't matter here and a factory for the specific Possible Duplicate: How have you successfully implemented MessageBox. This framework provides functionality similar to Prism. The command itself should be perhaps either in the list's VM or in the Model When a file already exists at the destination I need to raise a modal dialog to get confirmation to replace The vm needs to wait for and receive confirmation before continuing I want to find a way to implement different forms of modals in MVVM WPF application. enz, rts, ucd, wof, fcc, whh, wje, xcp, sjn, wbo, tfl, tjb, gvs, hyp, bef,