Jul 6, 2009 at 9:27 PM
Edited Jul 6, 2009 at 9:44 PM
Hi there, i wonder if someone could help me out in the right direction here.
Im doing a simple proof of concept application which has the following layout:
A list view that presents an observable collection of lets say customers.
A view that displays details about a customer selected in the listview above.
When the user double clicks on a row in the listview i want my application to show the customer in the "DetailView".
The customers in the "DetailView" should be opened up in different tabs in a tabcontrol.
If the tabcontrols in the DetailView doesnt have any customers to show, the DetailView should not be visible at all and give the ListView the full height of the application.
As soon the DetailView has customers to show it should take 50% of the height. Alos, when the "DetailView" is visible, the user should have the possibility to change the height of the two different view by means of a seperator (the seperator should
not be visible if the DetailView doesnt have any customers to show).
If you understand what i try to achive do you have any idea how i would do this with Prism V2 and the MVVM approach?
Any help very much appreciated!!!!