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

New Post: Issue in getiing the view name for showing the dialog in wpf prism

$
0
0
Hi,

In my opinion, if you want to pass information from your view model to your popup you should not use a Notification directly, but a class that inherits from Notification and provides you with the correct properties you need to pass and create bindings. As the class would inherit from Notification it can be passed in the InteractionRequest without problems.

In the sample provided with the PopupWindowAction post you can find a couple of examples showing how to pass information to a popup using either a class that inherits from Notification or a separate view model. You can use them as a reference.

I hope this helps,

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

Viewing all articles
Browse latest Browse all 1878


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