摘要: DataTemplate数据模板是非常强大的功能,在 XAML中。可以重复使用的数据模板 在元素级别或应用程序级别。在这个实例中,让我们使用数据模板的列表框控件。让我们创建一个新项目, 1. 我在这里使用的Listbox控件.2.打开 MainPage.xaml 目录, 按照一下方式添加ItmeTemplate和dataTemplate在ListBox中 <!-- List box priority --><TextBlock x:Name ="tbPriority" Text ="Priority:" Grid.Row="3 阅读全文
posted @ 2012-08-22 09:30 MicroLeo 阅读(440) 评论(0) 推荐(0) 编辑