Articles in this section
Category / Section

How to localize the ribbon display option menu in WinForms RibbonControlAdv?

1 min read

Localize the ribbon display option

You can localize the Ribbon display option menu by using the function named SetRibbon2013OptionValues in RibbonControlAdv. Refer to the following code examples.

C#

//Localizes the Ribbon display option menu
this.ribbonControlAdv1.SetRibbon2013OptionValues(ControlItems.AutoHide, "Auto-Hide ruban", "Cacher le ruban. Cliquez en haut de l'application de la montrer", new Font("Segoe UI", 12), this.Font);
this.ribbonControlAdv1.SetRibbon2013OptionValues(ControlItems.RibbonMinimizePanel, "Afficher les onglets", "Afficher les onglets du Ruban seulement. Cliquez sur un des onglets pour afficher les commens", new Font("Segoe UI", 12), this.Font);
this.ribbonControlAdv1.SetRibbon2013OptionValues(ControlItems.RibbonPanel, "Afficher les onglets et commets", "Afficher les onglets du Ruban et commentaires tout le temps", new Font("Segoe UI", 12), this.Font);

VB

'Localizes the Ribbon display option menu
Me.ribbonControlAdv1.SetRibbon2013OptionValues(ControlItems.AutoHide, "Auto-Hide ruban", "Cacher le ruban. Cliquez en haut de l'application de la montrer", New Font("Segoe UI", 12), Me.Font)
Me.ribbonControlAdv1.SetRibbon2013OptionValues(ControlItems.RibbonMinimizePanel, "Afficher les onglets", "Afficher les onglets du Ruban seulement. Cliquez sur un des onglets pour afficher les commens", New Font("Segoe UI", 12), Me.Font)
Me.ribbonControlAdv1.SetRibbon2013OptionValues(ControlItems.RibbonPanel, "Afficher les onglets et commets", "Afficher les onglets du Ruban et commentaires tout le temps", New Font("Segoe UI", 12), Me.Font)

 

Localized ribbon display option

Figure 1: Localized Ribbon display option.

 

Default ribbon display option

Figure 2: Default Ribbon display option

Samples:

C#: https://files2.syncfusion.com/login?ReturnUrl=%2Fdtsupport%2Fdirecttrac%2F139533%2FRibbonOptionLocalization-702709933.zip

VB: https://files2.syncfusion.com/login?ReturnUrl=%2Fdtsupport%2Fdirecttrac%2F135492%2FRibbonOptionLocalization_VB-1829395712.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied