Skip to main content

ReportLocalizer.GetString(ReportStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.XtraReports.Localization

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public static string GetString(
    ReportStringId id
)

Parameters

Name Type Description
id ReportStringId

A ReportStringId enumeration value, identifying the string to localize.

Returns

Type Description
String

A String value, corresponding to the specified identifier.

Remarks

The XtraReports Suite supports localization, so that you can substitute the default strings displayed within context menus with your own equivalents (e.g., in your native language). Items that can be localized are listed in the ReportStringId enumeration.

To localize the default resources of the XtraReports Suite, override the GetString method in a ReportLocalizer class descendant.

To learn more, refer to Localization.

See Also