Skip to main content

XtraSpreadsheetLocalizer.GetString(XtraSpreadsheetStringId) Method

Returns a culture-specific string for the specified string identifier.

Namespace: DevExpress.XtraSpreadsheet.Localization

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public static string GetString(
    XtraSpreadsheetStringId id
)

Parameters

Name Type Description
id DevExpress.XtraSpreadsheet.Localization.XtraSpreadsheetStringId

A DevExpress.XtraSpreadsheet.Localization.XtraSpreadsheetStringId enumeration value specifying the UI element whose caption (text) is to be localized.

Returns

Type Description
String

A String that is the text to be displayed for the current culture settings.

Remarks

Override this method in XtraSpreadsheetLocalizer class descendants to modify the captions (text strings) of visual user interface elements.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetString(XtraSpreadsheetStringId) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also