ChartLocalizer.GetString(ChartStringId) Method

Returns a localized string for the specified string identifier.

Namespace: DevExpress.Xpf.Charts.Localization

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

Declaration

public static string GetString(
    ChartStringId id
)
Public Shared Function GetString(
    id As ChartStringId
) As String

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