Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

New Post: 1 ViewModel, 2 Views. Minimizing 1st view causes 2nd to minimize.

$
0
0
I am using the standard CM conventions to have two different views bound to one viewmodel. It seems to work great, except that I might have both views visible at the same time. When I do, if the 1st view that was created is minimized, the 2nd view is also minimized automatically. I would like for the 2nd view to stay up even if the 1st is minimized.

Is there some trickery I can do to make this (not) happen?

The viewmodel I am using inherits from Screen and is in charge of opening the 2nd view to itself. When a button is clicked, it simply calls windowManager.ShowWindow(this, "SecondView");

Viewing all articles
Browse latest Browse all 1760

Trending Articles