)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the ToolStripTabItem visibility in the customized QAT dialog window in WinForms RibbonControlAdv?

Platform: WinForms |
Control: RibbonControlAdv |
Published Date: September 29, 2015 |
Last Revised Date: January 8, 2020

Show or hide the ToolStripTabItem

You can show or hide the ToolStripTabItem in the customized QAT window of the RibbonControlAdv by using the function, SetUseInCustomQuickAccessDialog in the RibbonControlAdv.

C#

//Hides the ToolStripTabItem in the ComboBox of the Quick Access Dialog.
this.ribbonControlAdv1.SetUseInCustomQuickAccessDialog(this.toolStripTabItem1, false);
//Shows the ToolStripTabItem in the ComboBox of the Quick Access Dialog.
this.ribbonControlAdv1.SetUseInCustomQuickAccessDialog(this.toolStripTabItem5, true);

VB

'Hides the ToolStripTabItem in the ComboBox of the Quick Access Dialog.
Me.ribbonControlAdv1.SetUseInCustomQuickAccessDialog(Me.toolStripTabItem1, False)
'Shows the ToolStripTabItem in the ComboBox of the Quick Access Dialog.
Me.ribbonControlAdv1.SetUseInCustomQuickAccessDialog(Me.toolStripTabItem5, True)

 

Note:

1)By default, all the items of the ToolStripTabItem are loaded in the ComboBox of the customized QAT window in the RibbonControlAdv.

2)The visibility of the ToolStripTabItem is also applicable to the customized Ribbon window of the RibbonControlAdv.

3)In order to show Quick item dropdown button, the property named “ShowQuickItemsDropDownButton” should be enabled in the RibbonControlAdv. The default value of the ShowQuickItemsDropDownButton is true.


Toolstrip tabitems shown in the combobox of the QAT window

Figure 1:ToolStripTabItems shown in the ComboBox of the QAT window

Show after hide the toolstrip tabitem from combobox

Figure 2: After hiding the ToolStripTabItem from the ComboBox

Toolstrip tabitems shown in combobox

Figure 3: ToolStripTabItems shown in ComboBox

Shows after hide the toolstrip tabitems from the combobox

Figure 4: After hiding the ToolStripTabItems from the ComboBox

Sample Links:

C#: Ribbon_Custom_QAT_C#

VB: Ribbon_Custom_QAT_VB

Reference link: https://help.syncfusion.com/windowsforms/ribbon/quick-access-toolbar

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon