Bar

BarManager.GetString(BarString) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public virtual string GetString(
    BarString str
)
Public Overridable Function GetString(
    str As BarString
) As String

Parameters

Name Type Description
str BarString

A BarString value identifying the string to return.

Returns

Type Description
String

A string corresponding to the specified identifier.

Remarks

XtraBars supports localization, i.e. you can substitute strings displayed within default context menus and dialog boxes with your own equivalents (for instance, in your native language). Items that can be localized are enumerated by the BarString enum. Before each item is displayed onscreen, the BarManager.GetString method is called in order to get the string for that item.

For more information on how XtraBars can be localized see the Localization topic.

See Also