LanguageSettingsFormattingLanguageChangedGlobal Event

Occurs when the formatting language (Thread.CurrentThread.CurrentCulture) has been changed in any Thread by setting FormattingLanguage property. The subscribers are invoked from all threads.


Namespace: KGySoft
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public static event EventHandler FormattingLanguageChangedGlobal




The FormattingLanguage property reflects the formatting culture of the current thread (Thread.CurrentThread.CurrentCulture). 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 formatting 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 FormattingLanguageChanged event instead.

See Also