❔ WPF MVVM ModelViews and Views
I have recently learned that ModelView can't have UI elements in it (bad practice). Hence, couple of questions:
- If VM should not handle display UIs, how can I display messageBox to the user that, let's say, puts wrong input? If I don't want to grey out button or put message in red "wrong input"?
- Is it not good to open new window on button click? Went online, but it's suggested to change views (if it's User Controls) or use modals (overlay main window). How does it work with new windows?
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.