Articles in this section
Category / Section

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

1 min read

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied