开发者

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();

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜