Splitbutton and StaysOpenOnClick

Ribbon for WPF Forum

Posted 14 years ago by Arthur Damen
Version: 9.2.0512
Avatar
Hi,

I have a splitbutton that i want to use also outside the ribbonbar.
It works, but only the StaysOpenOnClick="False" does not work.
(when i move this to the ribbonbar it works as expected)
If I click on a item, the splitbutton is not closed automatically.

Does this work outside the ribbonbar?
And if not, is there a way to force the splitbutton manually to close it?

Thanks.

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Arthur,

Are you moving focus out of the menu item being clicked? If not, it will probably stay open when not in a toolbar context. I believe you could manually set SplitButton.IsPopupOpen to false too when that click occurs.


Actipro Software Support

Posted 14 years ago by Arthur Damen
Avatar
the ispopupopen does the trick.

thanks.
The latest build of this product (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.