Posted 22 February 2020, 10:39 am EST
How are we access to all items in ribbon like Tabs, Groups and Items and make Visible = True or False.
For Each ? or else
Forums Home / ComponentOne / WinForms Edition
Posted by: guco on 22 February 2020, 10:39 am EST
Posted 22 February 2020, 10:39 am EST
How are we access to all items in ribbon like Tabs, Groups and Items and make Visible = True or False.
For Each ? or else
Posted 24 February 2020, 4:26 am EST
Hi,
You can set the Visible property of the RibbonTab, RibbonGroup and RibbonItem to set their visibility as given in code snippet below:
c1Ribbon1.Tabs[0].Visible = false;
c1Ribbon1.Tabs[0].Groups[0].Visible = false;
c1Ribbon1.Tabs[0].Groups[0].Items[0].Visible = false;
Please go through the following links for more information:
Regards,
Prabhat Sharma.
Posted 24 February 2020, 5:01 am EST
Thanks for your fast reply
Regards,
Guco