Getting started with ZoomControl

Dec 23, 2010 at 5:21 PM
Edited Dec 23, 2010 at 5:28 PM


I am trying to use this ZoomControl with an image as its content. Like this,


<zoom:ZoomControl ZoomStep="1" ZoomEnabled="True" >
                <Image x:Name="imageAvatar" SizeChanged="drawingSizeChanged" Stretch="Uniform" Grid.Row="0" Grid.Column="0" />


But then the image is not displayed at all. What am I doing wrong? A simple tutorial would be helpful.

Thanks in advance,