PopUp action
No edit summary
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Actions can bring up Views. A modifier of the view show is the "Is Modal" modifier - that bring up the view in a modal overlay that must be closed by Ok or Cancel before continuing with other actions on the original page.
Actions can bring up Views. A modifier of the view shown is the "Is Modal" modifier which brings up the view in a modal overlay that must be closed by "Ok" or "Cancel" before continuing with other actions on the original page.


Yet a variation on the Is Modal modifier is the new "Is PopUp" modifier.  
Yet another variation is the new "Is PopUp" modifier.  
[[File:2021-01-10 11h37 09.png|none|thumb|523x523px]]  
[[File:2021-01-10 11h37 09.png|none|thumb|523x523px]]  


The PopUp is equal to the modal in many ways but differs from the Modal by:
The PopUp is equal to the Modal in many ways but differs from the Modal:
* Not having the header
* By not having a header
* Not having the ok and cancel buttons
* By not having the "ok" and "cancel" buttons
* For allowing you to dismiss the PopUp by clicking outside the popup view
* By allowing you to dismiss the PopUp by clicking outside the popup view
The PopUp is always submitting changes to the underlying view - and any cancel action you would like to perform must be done on the underlying (or starting) view.
The PopUp is always submitting changes to the underlying view. Any cancel action you would like to perform must be done on the underlying (or starting) view.
[[File:2021-01-10 11h34 01.gif|none|thumb|1136x1136px]]
[[File:2021-01-10 11h34 01.gif|none|thumb|1136x1136px]]
[[Category:WebUI]]
[[Category:WPF]]
[[Category:MDriven Designer]]
[[Category:Actions]]
You can also do a lightweight InPlacePopup that has everything defined in just one viewmodel. You do this by placing a button - and add a nesting to the button. The content from the nesting will render as a popup when the button is pressed.
{{Edited|July|12|2024}}

Latest revision as of 12:18, 22 March 2024

Actions can bring up Views. A modifier of the view shown is the "Is Modal" modifier which brings up the view in a modal overlay that must be closed by "Ok" or "Cancel" before continuing with other actions on the original page.

Yet another variation is the new "Is PopUp" modifier.

2021-01-10 11h37 09.png

The PopUp is equal to the Modal in many ways but differs from the Modal:

  • By not having a header
  • By not having the "ok" and "cancel" buttons
  • By allowing you to dismiss the PopUp by clicking outside the popup view

The PopUp is always submitting changes to the underlying view. Any cancel action you would like to perform must be done on the underlying (or starting) view.

2021-01-10 11h34 01.gif

You can also do a lightweight InPlacePopup that has everything defined in just one viewmodel. You do this by placing a button - and add a nesting to the button. The content from the nesting will render as a popup when the button is pressed.


This page was edited 52 days ago on 03/22/2024. What links here