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

New Post: Handling selected item in ListBox Region

$
0
0
Hi Sharda,
I apologize, I was remembering wrong. The region implementation will set the IsActive flag on a view that is activated by the user through the interactions of the container control, which was the scenario it was designed around, but there is not currently a way to get the region to switch the active view for you from a contained view or view model.

I think this could be achieved through a custom RegionBehavior. I'll add an item to our backlog at http://github.com/prismlibrary for this, but if you want to take a look into creating a RegionBehavior that does this and submit a pull request over there that would be great.
Brian

Viewing all articles
Browse latest Browse all 1878

Trending Articles



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