I am trying to iterate the a specific ribbon group and not the tools, can you give me an example. Below is an error cant find key, can you assisnt me
//foreach (var toolbarManagerItem in ultraToolbarsManager1.Tools["ribbonGroupReport"].Key)
//{
// this.ultraToolbarsManager1.Tools[toolbarManagerItem].SharedProps.Enabled = reportManagerStatus;
//}
Keith,
If you know the key of the RibbonGroup then you can use it to specify the RibbonGroup; something like this:
ultraToolbarsManager1.Ribbon.Tabs[
"Cinta1"].Groups["ribbonGroup2"].Caption = "Found Group";
I have attached a simple sample application that demonstrates this. I hope it helps.
I am trying to iterate through all the items within that group. this is not working, i tried multiple things.
foreach (var items in ultraToolbarsManager1.Ribbon.Tabs[0].Groups["ribbonGroupExport"].ParentCollection)
{ Console.WriteLine(items.ToString()); }