I'M .NET

.NET 技术
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

WPF Toolkit

Posted on 2008-12-10 15:41  宝猪  阅读(2172)  评论(1)    收藏  举报

有三个WPF新控件:DataGrid、DatePicker、DateCalendar。
地址:http://www.codeplex.com/wpf

需要安装.NET Framework 3.5 SP1

Please note: The WPF Toolkit is dependent on .NET Framework 3.5 SP1. You must install .NET Framework 3.5 SP1 in order to use any features in the Toolkit.

Instructions for using the WPF Toolkit Preview binaries:

  1. Install .NET Framework 3.5 SP1
  2. Download the WPFToolkitBinaries or WPFToolkitBinariesAndSource
  3. Run the WPFToolkit.msi to install the WPFToolkit.dll and WPF Toolkit design time binaries to your Program Files folder
  4. Reference the binaries in your project:
    1. Reference WPFToolkit.dll in your project
    2. Add a using statement ("using Microsoft.Windows.Controls;") to the top of .cs files
    3. Add a new xmlns (for example, xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit") to the top of XAML files
      1. Remember to use the namespace prefix (in the above example, <toolkit: ...>) in the body of your XAML