Set a Global Culture for Silverlight 4.0 Client

Date formatting has always been painful because it defaults to American MM / dd / yyyy. How to set default culture for Silverlight 4.0 client? It would be better, but not essential, if it were based on the user's regional settings.

Applying a format string or converter for each date field is not ideal.

+3
source share
1 answer

Read Localizing Silverlight-Based Applications , It Should Explain Your Options. Also check StringFormat and CurrentCulture in Silverlight by Tim Heuer.

+4
source

Source: https://habr.com/ru/post/1759850/


All Articles