Skip to main content

DataAccessUILocalizer.GetString(DataAccessUIStringId) Method

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

Namespace: DevExpress.DataAccess.UI.Localization

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public static string GetString(
    DataAccessUIStringId id
)

Parameters

Name Type Description
id DataAccessUIStringId

A DataAccessUIStringId 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 within the specified UI element.

Remarks

This method should be overridden in DataAccessUILocalizer 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