LayoutResLocalizer.GetLocalizedString(LayoutStringId) Method

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

Namespace: DevExpress.XtraLayout.Localization

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

public override string GetLocalizedString(
    LayoutStringId id
)
Public Overrides Function GetLocalizedString(
    id As LayoutStringId
) As String

Parameters

Name Type Description
id DevExpress.XtraLayout.Localization.LayoutStringId

A DevExpress.XtraLayout.Localization.LayoutStringId 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 a LayoutResLocalizer class' descendants to modify the captions (text strings) of visual user interface elements. The GetLocalizedString method gets a string ID (represented by an appropriate enumeration value) and should return an appropriate string.

See Also