Skip to main content

NavBarLocalizer Class

Represents an object that provides the means to localize the NavBarControl’s user interface elements.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v24.1.dll

NuGet Package: DevExpress.Wpf.NavBar


public class NavBarLocalizer :


The DXNavBar allows you to localize the menus used at runtime (e.g. the customization menu) and some error messages that might occur. This gives you the ability to provide a completely native language interface to your end-users. DXNavBar runtime interface localization can be performed via the NavBarLocalizer object.

To localize the user interface, you must first create a NavBarLocalizer descendant. Then, override the NavBarLocalizer.GetString method, to provide custom captions to interface elements. Finally, after the proper NavBarLocalizer descendant has been created, assign it to the Active property of the localizer class you derived from, so that it takes effect.

See Also