WPF DataGrid v1和WPFToolKit 发布


WPF DataGrid v1和WPFToolKit 发布
 
 
WPF DataGrid v1 终于发布了!这次发布在WPF CodePlex 站点,并将集成到下一代的WPF Framework。你可以到如下地址下载控件和源代码。同时,WPFToolKit 也有其他一些控件和特性,如DataPicker、Calendar、和VSM! 如有任何问题或疑问,你可以在WPF CodePlex 讨论列表中提问。你也可以到CodePlex 的Tips & Tricks 页面获得更多的文档和帮助信息。
 
WPF DataGrid v1 有哪些新特性呢?如下是以前CTP版本中没有的新特性:
  • Row Validation
  • Row Details
  • Row Resizing
  • Hidden Columns
  • Column virtualization
  • Read-only columns and cells
  • Make-over of DataGridComboBoxColumn
  • Design experience for the DataGrid in Cider and Blend
  • UIAutomation support
  • Star column width redesign
  • Lots of bug fixes
 
Windowsclient.net 提供了WPF DataGrid v1 的功能向导学习手册。下面是DataTable 和 Linq to SQL 的范例,你可以到这里下载




重要更新以及如何更新CTP 代码到v1
1. 更新 xaml 命名空间
原来的命名空间:xmlns:dg="clr-namespace:Microsoft.Windows.Controls;assembly=WpfToolkit"
新的命名空间:xmlns:dg=http://schemas.microsoft.com/wpf/2008/toolkit
 
2. 更新DataFieldBinding 属性为Binding。
 
3. 更新DataGridComboBoxColumn.DataFieldBinding
为 DataGridComboBoxColumn.SelectedItemBinding。
 
4. 在Code Behind代码中引入命名空间:using Microsoft.Windows.Controls.Primitives;
 
本文由 EntLib.com 开源小组翻译,原文链接:
 
 
相关站点:
WPF CodePlex 站点:
 
下载WPF DataGrid v1和WPFToolKit:
 
windowsclient.net 站点:
 
EntLib.com 开源博客、论坛小组:

 

发表 @ 2008年11月1日 12:25

打 印

评论

# re: WPF DataGrid v1和WPFToolKit 发布

Left by Edward at 2009/12/27 12:51
Gravatar
太好了,谢谢。
刚接触WPF不久,正在郁闷怎么连类似于DataGridView那么经典的控件也没有呢。

您的评论:



 (不显示)


 
 
 
Please add 2 and 7 and type the answer here:
    
 

评论预览窗口:

 
«九月»
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789