public static CultureInfo DisplayLanguage { get; set; }Public Shared Property DisplayLanguage As CultureInfo
Get
Setpublic:
static property CultureInfo^ DisplayLanguage {
CultureInfo^ get ();
void set (CultureInfo^ value);
}static member DisplayLanguage : CultureInfo with get, setDisplay language represents the language of the user interface of the application. This value is used when looking up localizable resources.
Use this property instead of Thread.CurrentThread.CurrentUICulture to keep language changes synchronized in your application.
When this property is set, DisplayLanguageChanged and DisplayLanguageChangedGlobal events are triggered, which makes possible for example to refresh the language of the UI on the fly on language change.
| ArgumentNullException | value is . |