This is how to do binding programmatically :
Binding binding = new Binding("ActualWidth")
{
Source = this
};
ParentSearchGrid.SetBinding(DataGrid.RowHeaderWidthProperty, binding);
In your case dataset does not have a property of type date, nor is it a dependency property.