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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is there an event to detect when the user collapses the ribbon?

Thread ID:





144883 May 27,2019 03:14 PM UTC May 30,2019 08:52 AM UTC WinForms 3
Tags: RibbonControlAdv
Asked On May 27, 2019 03:14 PM UTC

I would like to be able to detect when the user collapses the ribbon control. (see the screenshot). I need to resize a Panel control on the form to take advantage of the screen real estate that changes when you collapse and reveal the ribbon toolbar. 

The thing is I can't seem to find any events for this control.

I can do this work around the SizeChanged event but it's clunky.

I'm looking for something like:

RibbonControl_CollapseState(sender As Object, e As EventArgs) Handles RibbonControl.CollapseState

Any options for this?

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 28, 2019 02:13 PM UTC

Hi Bob, 
Thank you for contacting Syncfusion support.  
Based on the information provided, the PanelStateChanged event can be used in WinForms to fulfill  
your requirement of "Detecting the collapsed Ribbon state".  
We have prepared sample based on your requirement,   
We hope this helps. Please let us know, if you need any further assistance. 
Subburaj Pandian V 

Jayabharathi J [Syncfusion]
Replied On May 29, 2019 04:37 AM UTC

Thank you. I think this will work great.

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 30, 2019 08:52 AM UTC

Hi Bob,

Thank you for the update. We are happy that the given solution meets your requirement. 
Please get in touch with us if you would require any further assistance. 
Subburaj Pandian V 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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