This project is read-only.

Ribbon hidden event?

Sep 20, 2010 at 11:07 AM

Hi,

 

How can I make an event happen when the ribbon is hidden? I want to hide another control whenever the user hides the ribbon.

 

Please reply quickly!

Thanks!

Sep 20, 2010 at 1:04 PM

Hi, there is no such event. I have added a new issue #18788

Daniel

Sep 20, 2010 at 1:42 PM

Is there any hack I can implement to get around it? Surely there must be!

 

Is there an event for the pressing of the 'hide' button? Basically just some 'hack' to get around it!

Sep 21, 2010 at 2:33 AM

You could use (assuming your ribbon would be called ribbonInstance) ribbonInstance.IsCollapsed to find if the ribbon is expanded or not, you could then put this in a thread loop (not recommended but you want a hack) and close your other controls at the same time! 

I would hope that the developers would be happy to provide an event such as Ribbon.Collapsed and Ribbon.Expanded events.

Sep 21, 2010 at 2:48 AM

Thanks SpiderMaster! Thats probably a bit too hacky though, the constant loop would have to be on the mouseclick event or something - which would be far too processor intensive.

 

daVinci, this seems like such a simple event, will it be implemented in v2?

Sep 21, 2010 at 5:14 AM

Yes, it will be implemented in v2