摘要: Usually you can set up the general layout with a Grid and use a few stackpanels here and there to do some specific stuff. Usually the performance is b... 阅读全文
posted @ 2013-02-17 18:26 chuwachen 阅读(130) 评论(0) 推荐(0)
摘要: Auto and * are definitely not the same.When talking about RowDefinitions, Auto means that the size of the elements in that row will determine the heig... 阅读全文
posted @ 2013-02-17 17:13 chuwachen 阅读(152) 评论(0) 推荐(0)
摘要: padding用在容器内部,margin用在容器外部 如图所示: 比如:padding-top:10px;是指容器内的内容距离容器的顶部有10个像素,是包含在容器内的;margin-top:10px;是指容器本身的顶部距离其他容器有10个像素,不饱含在容器内 阅读全文
posted @ 2013-02-17 14:51 chuwachen 阅读(128) 评论(0) 推荐(0)
摘要: In xamlIn xaml.csfor (int index = 0; index (item, "InnerList"); if (innerList!= null) { innerList.ItemsSource = data... 阅读全文
posted @ 2013-02-17 14:08 chuwachen 阅读(168) 评论(0) 推荐(0)
摘要: Most controls in WPF inherit a series ofeventsfromtheUIElementclass such asPreviewMouseMove(tunneling) andMouseMove(bubbling) events.Because these eve... 阅读全文
posted @ 2013-02-17 12:41 chuwachen 阅读(185) 评论(0) 推荐(0)