We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to localize the customization dialog of XPMenu control

We can localize the customization dialog string by return the localized strings corresponding to the string identifiers with the help of ILocalizationProvider. The following codes are illustrating to customize the XP Menus customization dialog in German language.


   public class CustomizeDialogString : ILocalizationProvider



        public string GetLocalizedString(System.Globalization.CultureInfo culture, string name, object ctrl)




              case ToolsResourceIdentifiers.BarCustomizationDialogNew:

                  return "Neu";

              case ToolsResourceIdentifiers.BarCustomizationDialogDelete:

                  return "Löschen";

              case ToolsResourceIdentifiers.BarCustomizationDialogButtonReset:

                  return "sich ausruhen";

              case ToolsResourceIdentifiers.BarCustomizationDialogClose:

                  return "Schließen";

              case ToolsResourceIdentifiers.BarCustomizationDialogTabToolbars:

                  return "Symbolleiste";

              case ToolsResourceIdentifiers.BarCustomizationDialogTabCommands:

                  return "Aufträge";

              case  ToolsResourceIdentifiers.BarCustomizationDialogTabOptions:

                  return "Optionen";

              case ToolsResourceIdentifiers.BarCustomizationDialogCategories:

                  return "Kategorien";

              case ToolsResourceIdentifiers.BarCustomizationDialogCommands:

                  return "Commandes";

              case ToolsResourceIdentifiers.BarCustomizationDialogResetCustomization:

                  return "Anpassung zurücksetzen";

              case ToolsResourceIdentifiers.BarCustomizationDialogResetPartialMenus:

                  return "Setzen Si meineNutzundaten";

              case ToolsResourceIdentifiers.BarCustomizationDialogLargeIcons:

                  return "Große Ikonen";

              case ToolsResourceIdentifiers.BarCustomizationDialogPersonalizedMenus:

                  return "Benutzerdefinierte Menüs und Symbolleisten";

              case ToolsResourceIdentifiers.BarCustomizationDialogOther:

                  return "autre";

              case ToolsResourceIdentifiers.BarCustomizationDialogAlwaysFullMenu:

                  return "vollständige Menüsanzeigen";

              case ToolsResourceIdentifiers.BarCustomizationDialogExpandAfterDelay:

                  return "komplette Menüs nach Verzögerung anzeigen";

              case ToolsResourceIdentifiers.BarCustomizationDialogCaption:

                  return "Personifizieren";


                  return string.Empty;







        public Form1()


            LocalizationProvider.Provider = new CustomizeDialogString();







Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8847 06/14/2018 06/14/2018 WinForms MainFrameBarManager 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon