Skip to main content
A newer version of this page is available. .

ChartResLocalizer Class

Provides a means to localize the ASP.NET Chart and WinForms Chart‘s UI elements at runtime.

Namespace: DevExpress.XtraCharts.Localization

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public class ChartResLocalizer :
    XtraResXLocalizer<ChartStringId>

Remarks

WinForms Chart

Normally, you do not need to manually use an instance of the ChartResLocalizer class. Instead, use satellite assemblies as described in the following tutorial: Localizing WinForms Controls via Satellite Resource Assemblies.

ASP.NET Chart

Use the ChartResLocalizer class to access resource string values and override them at runtime.

  • If an application is localized using satellite resource assemblies or global resources, the ChartResLocalizer class will contain localized resource string values.
  • If an application is not localized, the ChartResLocalizer will contain default (en) culture resource string values.

You can use the ChartLocalizer class to localize the control at runtime. This class provides the same functionality, but always contains default (en) culture resource string values.

For more information, refer to the following topic: Localizer Objects.

Inheritance

Object
DevExpress.Utils.Localization.XtraLocalizer
XtraLocalizer<DevExpress.XtraCharts.Localization.ChartStringId>
DevExpress.Utils.Localization.XtraResXLocalizer<DevExpress.XtraCharts.Localization.ChartStringId>
ChartResLocalizer
See Also