Skip to main content

XtraLocalizer<T>.Active Property

Gets or sets a localizer object providing localization of the user interface at runtime.

Namespace: DevExpress.Utils.Localization

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public static XtraLocalizer<T> Active { get; set; }

Property Value

Type Description
XtraLocalizer<T>

A XtraLocalizer<T> descendant, which is used to localize the user interface at runtime.

Remarks

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