If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Calling a field and replace

Here is one possibility:

1) Create a handler for the DataGrid.AutoGeneratingColumn event
2) In the DataGrid.AutoGeneratingColumn event, examine the column header values looking for the one you want (I guess this would be InspectionSummaryDate in your case)
3) When you find the column header that corresponds to the one you are looking for, create a new Binding using "InspectionSummaryDate" as the Path
4) Implement an IValueConverter (see MSDN) that takes the summary dates and converts them into the format you wish
5) Create an instance of the value converter and assign it to the Converter property of the Binding you set up earlier
6) In the AutoGeneratingColumn handler, set e.Column to the binding that you just created. This will require some casting, but it should be straightforward

Let me know if that is not clear. I tried to just summarize the process that I have tried before.