corelibraries-devexpress-dot-utils-dot-localization-dot-xtralocalizer-1-7a24cd30.md
Gets or sets a localizer object providing localization of the user interface at runtime.
Namespace : DevExpress.Utils.Localization
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public static XtraLocalizer<T> Active { get; set; }
Public Shared Property Active As XtraLocalizer(Of T)
| Type | Description |
|---|---|
| XtraLocalizer<T> |
A XtraLocalizer<T> descendant, which is used to localize the user interface at runtime.
|
By default, the Active property returns the XtraLocalizer<T> object currently used to localize the user interface. If you want to manually localize the user interface, you must create the XtraLocalizer<T> class descendant, and assign this object to the Active property.
Note
Call the XtraLocalizer.HandleRequestsFromAllThreads method at application startup to use localizer objects (including custom localizers) accross all application threads. By default, localizers are used in the thread where they were created/activated (see XtraLocalizer<T>.Active).
See Also