Class ThreadCulture
Wrapper class for setting the current System.Threading.Thread's System.Threading.Thread.CurrentCulture.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ThreadCulture
Constructors
ThreadCulture()
Declaration
public ThreadCulture()
Methods
HandleCultureChangedEvent(Object, CultureChangedEventArgs)
Handles the CultureChanged event raised by the settings form.
Declaration
protected static void HandleCultureChangedEvent(object sender, CultureChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The settings form. |
CultureChangedEventArgs | e | The event data. |
SetCurrentCulture(CultureInfo)
Sets the current thread's CurrentCulture.
Declaration
public static void SetCurrentCulture(CultureInfo newInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | newInfo | The culture to be set. |
Events
CultureChanged
Event raised when the ThreadCulture is changed or the system settings changed the culture.
Declaration
public static event CultureChangedEventHandler CultureChanged
Event Type
Type |
---|
CultureChangedEventHandler |