Hi,
As per the topic, how can I programmatically clear all controls including the keys of the tabs, and the controls within these tabs, such as button tools?
I tried doing a tabs.Clear(), but when I re-add the buttontools, I get an error saying that the keys already exist
Would performing Tools.Clear() clear all of my tools including those that I've created at design time on the Application Menu?
What I'd want to clear are the keys/tools only within the ribbon tab controls
cidolfus,
You also need to clear the tools from the UltraToolbarsManager's Tools collection by calling UltraToolbarsManager.Tools.Clear().
Hope this helps,
~Kim~