Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 7 set Image Margin using code

I have one image on top of another.In code I am trying to set it's position using int's.I have two random int's representing the top and left.How can I set it's position over the other image do I use the Margin? If so how?

like image 908
james Avatar asked Nov 16 '25 05:11

james


1 Answers

Complete use style:

image1.Margin = new Thickness(10,50,300,20); //(left, top, right, bottom)
like image 150
Onur Tırpan Avatar answered Nov 18 '25 20:11

Onur Tırpan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!