In a DataGrid
I have a column:
<DataGridTextColumn Header="Freeze First Day" Binding="{Binding FirstDay, StringFormat=\{0:d\}}"/>
and I want to be able to allow the fields to be changed from populated to blank. (FirstDay is of type DateTime
.) However, as is, I get an error when I move away from editing that "Value '' could not be converted." I have tried a number of ways to fix this, but I am not seeing finding something that works.