ribbon popup and foreign controls

Ribbon for WPF Forum

Posted 9 years ago by David Sherwood
Version: 10.2.0532
Avatar
I have a ribbon popup that contains some one else's ComboBox. The problem is that its drop down button closes the popup. Since its not your control, it does not have a StayOpenOnClick property. Is there a way to prevent this? I have StayOpenOnClick=True on the popup, but this doesn't do any good.

Comments (2)

Posted 9 years ago by David Sherwood
Avatar
I found a way around it. In the PreviewMouseDown event I set e.Handled=True and IsDropDownOpen=True. This keeps the popup open, although I have to click twice for some reason.
Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi David,

Unfortunately there's probably nothing that can be done there (other than what you did) since the other ComboBox is probably detecting it's in a separate focus scope (ribbon behaves as if it was in a native toolbar) and is probably restoring focus to the main focus scope. Focus leaving the popup causes it to close.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.