Arek
Arek

Reputation: 1336

Prism - composite view with single view model spanning on two regions

I've search over SO but it seems I can't find anything no this.

I have a thing like this:

enter image description here

Where view A is a list of files, and view B navigates to a different folder (breadcrumb control). View B also features some functionality if view A has some items selected (like select all, delete) etc. So basically they are related and should be one view.

What I need is:

I'm going to have more such situations over the whole app, so I'm looking for some common infrastructure for this to work. Is that possible in Prism?

Upvotes: 0

Views: 252

Answers (1)

user5420778
user5420778

Reputation:

There are a number of ways to accomplish what you want. Here is a PluralSight course showing you how to load dependent views in one region base on the what's being navigated to in another region using a custom region behavior.

https://www.pluralsight.com/courses/prism-problems-solutions

Upvotes: 2

Related Questions