How to show or hide the RibbonDisplayOption in the WinForms RibbonControlAdv?
Show or hide the ribbon display option
In the WinForms RibbonControlAdv, the Ribbon display option button can be shown/hidden by using the property, ShowRibbonDisplayOptionButton. The following code example demonstrates the same.
C#
//Hides the Ribbon display option button. this.ribbonControlAdv1.ShowRibbonDisplayOptionButton = false; //Shows the Ribbon Display option button. this.ribbonControlAdv1.ShowRibbonDisplayOptionButton = true;
VB
'Hides the Ribbon display option button. Me.ribbonControlAdv1.ShowRibbonDisplayOptionButton = False 'Show the Ribbon Display option button. Me.ribbonControlAdv1.ShowRibbonDisplayOptionButton = True
The following screenshots display the Ribbon display options:
Figure 1: RibbonDisplayOption hidden
Figure 2: RibbonDisplayOption visible
Samples:
Reference link: https://help.syncfusion.com/windowsforms/ribbon/working-with-ribbon
Conclusion
I hope you enjoyed learning about how to show or hide the RibbonDisplayOption in the WinForms RibbonControlAdv.
You can refer to our WinForms RibbonControl feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms RibbonControl documentation to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!