When adding a ButtonTool to a RibbonGroup using following code, the OwningRibbonGroup property stays null.
Am I doing something wrong?
See attached solution.
ps: By the way, I don't know if this is the right forum, but I find it really hard to find the right topic in the menu structure under Forums --> Windows Forums...
Hello,
As far as I understand from your latest response you were able to solve your issue. Please let me know if you need my further assistance on this matter.
Thank you for using Infragistics Components.
Removed all the InsertToolForRibbonCustomization calls and replaced them with custom logic. OwningRibbonGroup issue is also gone now.
Kind regards, Lieven Cardoen
To be honest, I don' find the Infragistics API intuitive. Very often a developer is required to do things a certain kind of way to make it work. I am not supposed to know that behind the scenes Infragistics is working with some kind of template. In a lot of answers for instance I've heard that I first need to add the Tool to the ToolbarsManager collection...
Another problem for instance is that I use the InsertToolForRibbonCustomization. It is public but apparently it's not supposed to be used by developers like me... So why is it public then?
#abitfrustrated
I see the difference now, but it doesn't solve my problem. I'll get back to you.
By the way, I don't find this very intuitive...
Lieven
What's the difference with my original code? If I see it right, that's exactly the code that is not working...