I met a stackoverflow exception when i set the Zoombox datacontext to null.
Comments: ** Comment from web user: Tekarihoken **
Comments: ** Comment from web user: Tekarihoken **
Ok i just found why it don't work for me and why it work for you.
I have the Scale property binded to a datacontext property then this problem is an other form of the issue that i have already mentioned : [20608](https://wpftoolkit.codeplex.com/workitem/20608).
The stack trace indicate that when i set the datacontext to null the Scale property is reevaluated and then the scale is reseted to NAN but the ZoomTo() method do not seem to manage NAN very well.