Hi,
We have a Ribbon which is populated with data, but would like to change some of the captions shown when the user clicks the CustomizeRibbon context menu.
The workflow would be the user right clicks and chooses Customize Ribbon. Then before the CustomizeRibbon dialog is displayed we modify the captions so that the AvailableItemsView shows the updated information for the user.
I tried using the BeforeCustomizationDialogOpened event, but the data does not update in the form.
Do you have a code sample explaining how to do this?
Thanks,
Terry
Hi Terry,
Thank you for posting in our forums.
Do you want to change the tools captions when they are shown in the customization dialog? If that is the case each tool has CustomizerCaption property, which you can set through their ShareProps property. Please note that if you do this in code you will need to call the CreateRestorePoint method of the toolbar for the changes to take effect.
If you want to change other captions inside the Customization Dialog you can use our resource strings for that goal. Here is more information on how to do this:
http://help.infragistics.com/Doc/WinForms/2014.2/CLR4.0/?page=Win_Customizing_Assembly_Resource_Strings.html
And here is the link where you can find all the names of the Customization Dialog resource strings:
http://help.infragistics.com/Doc/WinForms/2014.2/CLR4.0/?page=SupportDialogs_Resource_Strings.html
I have attached a sample which demonstrates how you can change the tool captions inside the Ribbon Customization Dialog.
Please let me know if you have any additional questions.
Thank you for the detailed reply.