Skip to content

PopupBox in modal mode? #2823

Closed Answered by Keboo
DrCQ asked this question in Q&A
Discussion options

You must be logged in to vote

This is probably a bit of a poor name for StaysOpen on PopupBox. The PopupBox control is designed to be a simple wrapper around a toggle button and a popup control. Unfortunately, the StaysOpen property means that the popup should stay open even after the user interacts with it, it is not the same as the Popup.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:

  • Switch to using the DialogHost control this one also uses a Popup but it is quite a bit different so might not mean your UX.
  • Roll your own implementation with a Popup and ToggleButton controls. Since

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DrCQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants