Splitbutton and StaysOpenOnClick

Ribbon for WPF Forum

Posted 9 years ago by Arthur Damen
Version: 9.2.0512

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?


Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA

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 9 years ago by Arthur Damen
the ispopupopen does the trick.

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.