In wpf application , I used a FormatString attribute in the text block . It didn't show any sign of error but ., there was no change in the date - time column of the xamdatagrid .
i wrote like this in the text block content " VerticalContentAlignment="Center" IsReadOnly="True" FormatString="{}{0:yy/MM/dd HH:mm:ss tt}"/>"
I have attached the sreenshot of the page .
Awaiting for your reply
Hello Jeevan,
Thank you for your post!
I have been looking into it. What I can suggest if you want to format the date of the DateTimeColumn is to set the Mask property of the XamDateTimeEditor. You can do this by creating a style for the XamDateTimeEditor in the resources of the XamDataGrid. More about the available Masks you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2014.2/CLR4.0/html/xamEditors_Masks.html.
I have also created a small sample application to show you the above mentioned functionality. Please find the sample application attached and feel free to let me know if you have any further questions on this matter.
Thank You Dimitrov,
It was really helpful
Thank you for the feedback. I am glad I was able to help.