LanguageSettingsDisplayLanguageChangedGlobal Event

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.

Definition

Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-rc.1
C#
public static event EventHandler DisplayLanguageChangedGlobal

Value

EventHandler

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