DashboardWebLocalizer.GetString(DashboardWebStringId) Method
Returns a localized string for the specified string identifier.
Namespace: DevExpress.DashboardWeb.Localization
Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Dashboard
#Declaration
public static string GetString(
DashboardWebStringId id
)
#Parameters
Name | Type | Description |
---|---|---|
id | Dashboard |
A Dashboard |
#Returns
Type | Description |
---|---|
String | A String corresponding to the specified identifier. |
#Remarks
The Dashboard supports localization, i.e. you can substitute strings displayed within default UI elements with your own equivalents (for example, in your native language). Items that can be localized are enumerated by the DashboardWebStringId enumeration.
To localize the Dashboard’s resources, you need to override the GetStringmethod in a DashboardWebStringId class descendant.