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

New Post: How to force a refresh of an entire view/all fields

$
0
0
Hi,

Based on my understanding of your scenario I believe you might need to raise the PropertyChanged event for all corresponding the properties. However, you don't need to invoke the RaisePropertyChanged method for each property; instead you could just invoke it with an empty string:
this.RaisePropertyChanged("");
This should raise the PropertyChanged event for all the properties of your view model, forcing the view to refresh all of its bindings.

I hope this helps,

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>