Skip to main content

BarManager.GetString(BarString) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual string GetString(
    BarString str


Name Type Description
str BarString

A BarString value identifying the string to return.


Type Description

A string corresponding to the specified identifier.


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