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: BoucherS **

Hi,

When using a simple ZoomBox like this :
```
<StackPanel>
<Grid Width="300"
Height="500">
<xctk:Zoombox x:Name="zoombox">
<Image Source="Resources/Default.jpg"/>
</xctk:Zoombox>
</Grid>
<Button Content="My Button"
Click="Button_Click_1" />
</StackPanel>
```

The ZoomBox.DataContext is null by default. If I try to change it in the Button_Click_1 callback, no exceptions are raised in v2.0.


Viewing all articles
Browse latest Browse all 4964

Trending Articles



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