This project has moved. For the latest updates, please go here.

Magnifier - how to reset

Mar 8, 2011 at 7:47 PM

I am trying to figure out who to reset the magnifier for the UIElement to be not there.

I have a button to enable the magnifier but want to be able turn off the magnifier. I have tried this:

MagnifierManager.SetMagnifier(viewer, null);

but it causes a crash. I am guessing that it was just not designed to be turned off?

Mar 8, 2011 at 7:50 PM

Just set the Magnifier.Visibility to hidden.

Mar 8, 2011 at 9:23 PM

Thank you.