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

New Post: View Navigation breaks with IRegionMemberLifetime and INavigationAware

$
0
0
Hi,

As far as I know, you should be able to implement both IRegionMemberLifetime and INavigationAware interfaces in your view models without problems.
So far with the information you provided I am not being able to find what is the cause behind the problem you are experiencing; but as a starting point you could check the following:
  • Is your "ContentRegion" an ItemsControl? Is so, try changing it to a ContentControl and check if this behavior keeps appearing.
  • In the IsNavigationTarget of your view models try changing between returning true and false to check if this behavior changes depending on that value.
If there is no new clues after checking those points, then it could be useful if you could provide us with your sample so that we can analyze what is causing the problem in deep.

Thanks,

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

Viewing all articles
Browse latest Browse all 1878

Trending Articles