Skip to main content

Localizer.GetLocalizedString(String) Method

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public static string GetLocalizedString(
    string functionCaption
)

Parameters

Name Type Description
functionCaption String

A String value specifying the UI element whose localized text content is to be obtained.

Returns

Type Description
String

A String value that is the localized text content of the specific UI element.

Remarks

Unlike the XtraLocalizer<T>.GetLocalizedString method that receives a StringId enumerator value as a parameter, the GetLocalizedString method receives a string value, checks if the value exists in the StringId enumerator and if it does - returns a corresponding Localizer.Active localizer’s string.

Generally, you do not need to use this method. Use the method overload inherited from the XtraLocalizer<T> class instead.

See Also