Skip to main content

ChartLocalizer.GetString(ChartStringId) Method

Returns a localized string for the specified string identifier.

Namespace: DevExpress.Xpf.Charts.Localization

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public static string GetString(
    ChartStringId id
)

Parameters

Name Type Description
id ChartStringId

A ChartStringId enumeration value identifying the string to localize.

Returns

Type Description
String

A String corresponding to the specified identifier.

Remarks

The ChartControl supports localization, i.e., you can substitute strings displayed within default UI elements with your own equivalents (for example, in your native language). Items that can be localized are enumerated by the ChartStringId enumeration.

To localize the Chart’s resources, you need to override the GetLocalizedString method in a ChartLocalizer class descendant.

See Also