Skip to main content

DashboardWinLocalizer.GetString(DashboardWinStringId) Method

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

Namespace: DevExpress.DashboardWin.Localization

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

public static string GetString(
    DashboardWinStringId id
)

Parameters

Name Type Description
id DashboardWinStringId

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 DashboardWinLocalizer 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 snippets (auto-collected from DevExpress Examples) contain references to the GetString(DashboardWinStringId) 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