Category / Section
How to remove QuickItems from WinForms RibbonControlAdv programatically?
1 min read
Remove quickitems from RibbonControlAdv
In our latest version Essential Studio 2008 Volume 1, collection related properties MainItems and QuickItems are added to the RibbonControlAdv Header to access items collection. You can use RemoveAt method of RibbonControlAdv.Header.QuickItems can be used for removing QuickItems from RibbonControlAdv.
C#
//Remove the toolstripitems from QuickItems collection from the specified index this.ribbonControlAdv1.Header.QuickItems.RemoveAt(5);
VB
''Remove the toolstripitems from QuickItems collection from the specified index Me.RibbonControlAdv1.Header.QuickItems.RemoveAt(5)