Childwindows in MVVM

Posted by VexXtreme on Stack Overflow See other posts from Stack Overflow or by VexXtreme
Published on 2010-06-17T10:59:10Z Indexed on 2010/06/18 16:23 UTC
Read the original article Hit count: 439

Filed under:
|
|
|
|

Hi

I'm having a problem understanding something about MVVM. My application relies on dialogs for certain things. The question is, where should these childwindows originate from? According to MVVM, viewmodels should contain only businesslogic and have zero actual knowledge about UI. However, what other place should I call my childwindows from, considering they're UI elements?

Doesn't this create tight coupling between elements?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf