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.Ho开发者_如何学Gow can I set it's position over the other image do I use the Margin? If so how?
Complete use style:
image1.Margin = new Thickness(10,50,300,20); //(left, top, right, bottom)
The way to do it was image.Margin = new Thickness();
精彩评论