Nov
4
2009
WPF // MVVM

WPF Cursor Handling Routine

In my WPF application I need to change the cursor to identify a potentially long running process. The cursor needs to change back when the process completes regardless if it throws back an exception or not. So I ended up writing the class below to do just that. public class CursorRoutine : IDisposa... [More]