How to bring window to front with wpf and using mvvm

Viewed 9328

I have a window that essentially runs a timer. When the timer hits 0 I want to bring the window to the front so that it is visible and not hidden behind some other application.

From what I can gather I would simply call window.activate() to accomplish this but with mvvm my view model doesn't have a reference to window.

3 Answers
Related