开发者

Change origin of UserControl placed in a Canvas

I have a UserControl that I'm positioning on a Canvas control using Canvas.Left() and Canvas.Top(). By default the origin of the UserControl is top left (0,0). How can I move the o开发者_StackOverflow中文版rigin of the UserControl to be bottom left?


For that you can use the Bottom attached property, instead of the Top. You can still use the Left property, like you are.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜