摘要: 除了三个常用的布局控件(Grid,Canvas,StackPanel)外,有时候我们需要做一些更加丰富的布局功能例如:下面介绍这个WrapPanel,叫自动排列面板,控件按顺序排列,当遇到末尾是自动换行 1、添加引用 Microsoft.Phone.Controls.Toolkit.dll 2、在xaml控件中添加 xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" 2、然后添加WrapPanel控件(放在ScrollViewer中. 阅读全文
posted @ 2012-11-09 14:03 bomo 阅读(2537) 评论(0) 推荐(0) 编辑