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>
And this is how it looks…
And that is it, hopefully we will soon see a DataGridDatePickerColumn…
[UPDATE] WPF Toolkit: DataGrid Feature Walkthrough