开发者

SL4: overlaping children in a grid

Is there a way 开发者_运维技巧to know in a grid if 2 children are overlapping each other?


Check out the blog post here by Andy Beaulieu. He describes the various collision detection methods in Silverlight. It's for Silverlight 3, but the majority of the article will be applicable. http://www.andybeaulieu.com/Home/tabid/67/EntryID/160/Default.aspx


maybe, when the left margin of the first control + width of the first control + right margin of the second control + width of the second control > the width of the grid? :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜