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
400
Few questions about customization and localization of the Ribbon 2013.
posted

Hi,

We have been changing the Main Menu toolbar of our program. Now we have put a Ribbon, with Office 2013 style. We have had some problems with it, in customization and localization terms, things that we can't find.

-In the FileMenuApplication2010 button, is it possible to have an image without a text? I can put an image and an empty string as a text, or put a no-visible caption, but the image stays at the top left of the button instead of being centered.

-Inside that menu, there is a Back arrow like Office 2013. In the AppStylist application, I can change it's back color(it's blue by default), but it has been impossible to me to get to it's color property via code or Visual Studio designer(right click on the toolbar, click on "Custom property pages"). Which property does it use?

-We need to change the bottom border of the Ribbon too. If the Ribbon is expanded and pinned, there is a 3D Border at the bottom, and we don't want it. We would like a border like the flat border at the bottom of the expanded and unpinned Ribbon.

-And, for us, the most important of all: At the right of the form, there is a button containing three buttons inside and it's descriptions, "Auto-hide Ribbon", "Show Tabs" and "Show Tabs and Commands". We want to have access to the captions of the buttons, title and description for each one, to be able to translate to our native language. Same as before, we haven't been able to access to that button. Where is it?

Like always, very thanks for all the help.

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Xe,

    Thank you for contacting Infragistics Developer support.

    -        To display only image button in the ApplicationMenu2010 you could use a button with image and no text and then resize and realocate it with the help of CreationFilter. For more information about CreationFilter please visit this link: http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/HTML/Win_Creation_Filter.html

    -        Currently there is no way to change that button’s color outside of AppStylist. You can suggest a product idea. Logging a product idea has many benefits like direct communication with our product management team regarding your product idea or the ability to vote on your favorite product ideas and let us know which ones are the most important to you. You suggest a new product idea or vote for existing one from this site: http://ideas.infragistics.com.

    -        That border changes because when the ribbon is pinned there is RibbonTabPageShadowUIElement. You can remove that element with the creation filter and the border will be like the one on the unpinned ribbon.

    -        To do that you can use ResourceStrings. You can see more information about them on the following links:

    http://help.infragistics.com/Doc/WinForms/2013.2/CLR4.0/?page=Win_Customizing_Assembly_Resource_Strings.html

    http://help.infragistics.com/Doc/WinForms/2013.2/CLR4.0/?page=Win_Assembly_Resource_Strings.html

    The exact resource strings keys which you need to manage are:

    RibbonDisplayOptions

    RibbonDisplayOptions_AutoHide_Description

    RibbonDisplayOptions_TabsOnly_Description

    RibbonDisplayOptions_Full_Description

    RibbonDisplayOptions_AutoHide_Title

    RibbonDisplayOptions_TabsOnly_Title

    RibbonDisplayOptions_Full_Title

    I have implemented a sample which demonstrates my suggestion.

    Please let me know if you have any additional questions.

    WTM_RibbonSettings.zip
Children