开发者

Relative silverlight control positioning

开发者 https://www.devze.com 2022-12-22 12:31 出处:网络
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

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

精彩评论

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