In WPF I am trying to Bind a Date property to Datagrid, and If I only have the date Property binded as DateTime format I can sort it in the datagrid.
And Here I have to show the regional Date, If the user changes the Region and Language settings, The application should show the resepective time format.
Here comes the Issue, When the Date is in string Format , it shoes according to the region settings, but when the property is binded in DateTime format the date is dafaulted to American Format rather than showing with currect region settings.
So, If I have string format the sorting by column doesnt work, and if its in DateTime format, it does convert to regional settings