You can do this:
System.Windows.Input.Cursor saveCursor = someFrameworkElement.Cursor;
someFrameworkElement.Cursor = Cursors.WaitCursor;
and, at the end
someFrameworkElement.Cursor = saveCursor;
Please also see my article where I show how to use
statement based in
to do such things:
Hourglass Mouse Cursor Always Changes Back to its Original Image. How?
If works for both
Also, see more generic alternative to my solution, which I gladly accepted: Hourglass Mouse Cursor Always Changes Back to its Original Image. How?
Is is based on the RAII
This is something which is very good to know.