Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Closing a view triggered by an InteractionRequest from the same class that owns the InteractionRequest

$
0
0
Hi,

You are right, the current implementation of the IPopupWindowActionAware interface forces your Notification object to have a Window , which is not MVVM friendly as it would make it more difficult to test. In fact, I have already received comments about this in my blog post.

What you are describing about modifying the IPopupWindowActionAware to receive an IWindow seems to be a good approach to solve this. Based on my understanding, you will also need to modify the PopupWindowAction to instantiate a window that implements the IWindow interface and pass it to the corresponding Notification object when needed.

Thanks,

Damian Cherubini
http://blogs.southworks.net/dcherubini

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>