DashboardLocalizer.GetString(DashboardStringId) Method

Gets the string, localized by the current DashboardLocalizer, for the specified user interface element.

Namespace: DevExpress.DashboardCommon.Localization

Assembly: DevExpress.Dashboard.v21.2.Core.dll

Declaration

public static string GetString(
    DashboardStringId id
)

Parameters

Name Type Description
id DashboardStringId

A DashboardStringId enumeration value specifying the UI element whose caption (text) is to be localized.

Returns

Type Description
String

A String representing the text to be displayed within the specified UI element.

Remarks

This method should be overridden in DashboardLocalizer class’ descendants, in order to modify the captions (text strings) of visual user interface elements. The GetString method gets a string ID (represented by an appropriate enumeration value) and should return an appropriate string.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetString(DashboardStringId) 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