开发者

Relative silverlight control positioning

I Have a canvas and would like to place silverlight elements within that canvas relative to each.

For example, I have an element (A) at canvas.top="0" c开发者_如何学Goanvas.left="5". I would like to place all elements proceeding that one relative to its position. So if i move A to canvas.top="10" canvas.left="15" all other elements would reposition themselves.

IF this is feasibly with a canvas let me know, else can you recommend what control i should be using. Thank you very much


The Canvas isn't designed for this. It sounds like you want a Grid or StackPanel inside the Canvas.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜