Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
795
Customizing Resources on XamRibbon does not work?
posted

Hi,

I am trying to customize the resource strings of the XamRibbon the same way I as I id on XamGrid but it doesn't work. 

 

As you can see it works on grid but doesn't on ribbon.

Any help would be appreciated.

Best regards,

Ingo

 

  • 6475
    posted

    Hi Ingo,

    I couldn't understand how exactly you're setting the customized strings on the ribbon from the given snippet. But basically, to change the strings in the "Customize QAT" menu you have two options:

    1. Set the strings directly through the properties exposed by the ribbon:

    igRibbon.QuickAccessToolbar.MinimizeRibbonCaption = "Lint minimaliseren";
    igRibbon.QuickAccessToolbar.MenuHeaderCaption = "Aanpassen Werkbalk Snelle Toegang";
    igRibbon.QuickAccessToolbar.ShowAboveRibbonCaption = "Toon boven het lint";
    igRibbon.QuickAccessToolbar.ShowBelowRibbonCaption = "Toon onder het lint";
    igRibbon.QuickAccessToolbar.MoreCommandsCaption = "[Test] More Commands";
    
    

    2. Provide your customized strings via a resource file, as described here:

     http://help.infragistics.com/NetAdvantage/Silverlight/2011.2/CLR4.0/?page=Customizing_Resource_Strings.html

     

    Hope this helps,