KGy SOFT

LanguageSettingsDisplayLanguageChangedGlobal Event

KGy SOFT Core Libraries Help
Occurs when the display language (Thread.CurrentThread.CurrentUICulture) has been changed in any Thread by setting DisplayLanguage property. The subscribers are invoked from all threads.

Namespace:  KGySoft
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.2
Syntax

public static event EventHandler DisplayLanguageChangedGlobal

Value

Type: SystemEventHandler
Remarks

The DisplayLanguage property reflects the display culture of the current thread (Thread.CurrentThread.CurrentUICulture). This event triggers all subscribers regardless of their source thread in the current AppDomain. When the event is triggered, the subscribers are invoked in the thread of the changed display language. You might want to check if the thread of the invocation is the same as the thread of the subscription. To notify subscribers from the affected thread only use the DisplayLanguageChanged event instead.
See Also

Reference