Mouse wheel on RibbonGallery items scrolls ribbon tabs

Ribbon for WPF Forum

Posted 7 years ago by Marcin Szotka
Version: 12.1.0561
Environment: Windows 8 (64-bit)
Avatar

I have problem with RibbonGallery: If items don't fit to visible area scroll does not work properly

1) Select any item in RibbonGallery and keep mouse cursor on gallery

2) Use mouse wheel

3) I expect gallery scrolled but ribbon changes active tab

When ribbons gallery is presented as popup scrolling doesn't make any effect.

 

MSz.

Comments (4)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Marcin,

When you do the mouse wheel on the in-ribbon gallery for Styles in Word, it doesn't scroll either and also changes active tab.  So our functionality seems to match Office's in that regard.


Actipro Software Support

Posted 7 years ago by Marcin Szotka
Avatar

Thank you for fast replay!

I checked it and Office really work in the same way. But in my opinion it is not proper behavior. Do you plan to introduce switch changing action for mouse wheel in future?

Msz

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Marcin,

Not at the moment, since we like to match Office behavior.  But you could probably add it yourself by inheriting RibbonGallery and watching for the mouse wheel event.  If you see it, send the RibbonGallery either a ScrollBar.LineUpCommand or ScrollBar.LineDownCommand as appropriate.  That should get it scrolling.


Actipro Software Support

Posted 7 years ago by Marcin Szotka
Avatar

Thank you! This solution suits my needs.

Msz.

The latest build of this product (v2018.1 build 0675) 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.