I had fun today trying to work out why I could not get the date column of a data form grid to be formatted correctly. Listed below is some xaml markup of the dataform..
The problem with this is no matter what format parameter I put on the annotation
it was being displayed as 4/6/2010 10:02:15 AM
This is the default binding format on the dataform. To solve this a convertor needed to be added to the datafield in question.
The DateConverter is just a class than implements the IValueConverter interface. Example below shows the date time format I needed..
This works like a treat - could be improved with some null checking! :)