Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public class NavBarLocalizer :
    DXLocalizer<NavBarStringId>

#Remarks

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