Resize Image thru Slider in Silverlight
Posted
by Sayre Collado
on Geeks with Blogs
See other posts from Geeks with Blogs
or by Sayre Collado
Published on Wed, 19 May 2010 01:32:03 GMT
Indexed on
2010/05/19
12:40 UTC
Read the original article
Hit count: 635
Hello Guys,
I've been playing with slider on silverlight. Now the result is this, a simple resizing image thru slider.
The Image below is the default size of my sample.
And the second Image below are the result when the slider slide to right and top.
The xaml layout are very simple:
The Image1 Height are depending to the maximum value of sldRight and its value same with the situation of Image1 Width. The Image1 Height/Width = {Binding ElementName="NAME OF THE SLIDER", Path="THE VALUE OF SLIDER"}. When you slide the slider the image will resize.
And thats all. Happy Programming.
© Geeks with Blogs or respective owner