Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

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.

See Also