Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: Zoombox Stack Overflow [20652]

$
0
0
I met a stackoverflow exception when i set the Zoombox datacontext to null.
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.



Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>