DataGrid - Rudi Grobler

Browse by Tags

All Tags » DataGrid (RSS)

Using a DatePicker in a DataGrid?

Wow, the WPF Toolkit has just been released and already I had a email from someone wanting to know how to use the DatePicker in a DataGrid! Here is a very basic example < toolkit : DataGridTemplateColumn Header ="Date Of Birth"> < toolkit : DataGridTemplateColumn.CellTemplate > < DataTemplate > < toolkit : DatePicker SelectedDate ="{ Binding DOB }" /> </ DataTemplate > </ toolkit : DataGridTemplateColumn.CellTemplate > </ toolkit : DataGridTemplateColumn...
Posted by rudi | 2 comment(s)

The WPF DataGrid is finally here!!!

Well, their is a huge hype surrounding the release of .NET Framework 3.5 SP1 & Visual Studio 2008 SP1 ! The one release that has silently gone unnoticed is the release of the WPF DataGrid (CTP) The binaries and source is available for download here Here is a list of some of the features: Auto-generation of Columns. Simply hook up the DataGrid to an ItemsSource and at runtime it will auto-populate with variety of pre-built column types. You can also hook into column generation events to modify...