Double click orb event?

Ribbon for WPF Forum

Posted 17 years ago by Brad Daszynski
Version: 3.0.0410
Avatar
Is there a way to hook up to the double click on orb event? I don't want it to close the application when a user double clicks it, which is the default behavior. Thanks.

Comments (5)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes there is a Ribbon.ApplicationButtonMouseDoubleClick event in which you can cancel default behavior and provide your own.


Actipro Software Support

Posted 17 years ago by Brad Daszynski
Avatar
But how to actually prevent it from closing?
Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Set the e.Cancel = true on the event args. That should block the default close behavior.


Actipro Software Support

Posted 14 years ago by Sebastian Limke
Avatar
Hey Guys,

i read how to get to the Ribbon.ApplicationButtonMouseDoubleClick Event to use it. Thats fine! But how do i get to the Single Click Event that opens the ApplicationMenu.

I want to use this event to load some stuff into the additionalContent of the menu.

I hope you guys can help me out!?

Greetings from Germany
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Sebastian,

Version 2010.2 added a Ribbon.IsApplicationMenuOpenChanged event that fires when you click the application button. That would be what you want.


Actipro Software Support

The latest build of this product (v24.1.3) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.