-
I'm using PopupBox to open a dialog (UserControl) written with MVVM patterns. The StaysOpen property is set to True, but any click outside the PopupBox content is closing my dialog, The same happens when I try to examine the dialog properties using Blend. Click on the PopupBox in the Blend application is also closing the PopupBox content. It is possible to set the PopupBox in the modal mode? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is probably a bit of a poor name for Unfortunately, there are only a few options I can think of:
|
Beta Was this translation helpful? Give feedback.
This is probably a bit of a poor name for
StaysOpen
onPopupBox
. ThePopupBox
control is designed to be a simple wrapper around a toggle button and a popup control. Unfortunately, theStaysOpen
property means that the popup should stay open even after the user interacts with it, it is not the same as thePopup.StaysOpen
property. Effectively this control is meant for short quick interactions, not longer, dialog-style implementations.Unfortunately, there are only a few options I can think of:
DialogHost
control this one also uses aPopup
but it is quite a bit different so might not mean your UX.Popup
andToggleButton
controls. Since…