开发者

CurrentCulture in Silverlight4 and DataGrids

开发者 https://www.devze.com 2023-01-18 06:03 出处:网络
I having problems with DataGrid component: It shows en-US date-format (mm/dd/yyyy), but the CultureInfo.CurrentCulture is pt-BR (dd/MM/yyyy开发者_如何转开发).

I having problems with DataGrid component: It shows en-US date-format (mm/dd/yyyy), but the CultureInfo.CurrentCulture is pt-BR (dd/MM/yyyy开发者_如何转开发).

Stranger is the fact that datetime is show in pt-BR when edit it: image

I can just do a IValueConverter to show it as a string (tested and worked, using CurrentCulture), but then I lost the date edition...

Any ideas? Thanks in advance ;)


See this thread for a possible solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消