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
2730
Ribbon Group Iteration.
posted

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;

 

 

 

//}

Parents
No Data
Reply
  • 9298
    posted

    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. 

     

    RibbonTest.zip
Children