Articles in this section
Category / Section

How to show or hide the RibbonDisplayOption in the WinForms RibbonControlAdv?

2 mins read

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:

Hide the ribbon display option

Figure 1: RibbonDisplayOption hidden

Show the ribbon display option

Figure 2: RibbonDisplayOption visible

Samples:

C#: https://files2.syncfusion.com/login?ReturnUrl=%2Fdtsupport%2Fdirecttrac%2F139533%2FRibbonDisplayOption-467361678.zip

VB: https://files2.syncfusion.com/login?ReturnUrl=%2Fdtsupport%2Fdirecttrac%2F135492%2FRibbonDisplayOption_VB-931542614.zip

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 forumsDirect-Trac, or feedback portal. We are always happy to assist you!

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