Back to Devexpress

ReportDesignerLocalizer.GetString(ReportDesignerStringId) Method

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-localization-dot-reportdesignerlocalizer-dot-getstring-x28-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-localization-dot-reportdesignerstringid-x29.md

latest2.7 KB
Original Source

ReportDesignerLocalizer.GetString(ReportDesignerStringId) Method

Returns a localized string for the given string identifier.

Namespace : DevExpress.Xpf.Reports.UserDesigner.Localization

Assembly : DevExpress.Xpf.ReportDesigner.v25.2.dll

NuGet Package : DevExpress.Wpf.Reporting

Declaration

csharp
public static string GetString(
    ReportDesignerStringId id
)
vb
Public Shared Function GetString(
    id As ReportDesignerStringId
) As String

Parameters

NameTypeDescription
idReportDesignerStringId

A ReportDesignerStringId enumeration value, identifying the string to localize.

|

Returns

TypeDescription
String

A String value, corresponding to the specified identifier.

|

Remarks

The Report Designer for WPF 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 ReportDesignerStringId enumeration.

To localize the default resources of the Report Designer for WPF, override the GetString method in a ReportDesignerLocalizer class descendant.

To learn more, refer to Localization.

See Also

ReportDesignerLocalizer Class

ReportDesignerLocalizer Members

DevExpress.Xpf.Reports.UserDesigner.Localization Namespace