Silverlight MVVM add record from user control
Posted
by
strattonn
on Stack Overflow
See other posts from Stack Overflow
or by strattonn
Published on 2010-12-27T18:50:27Z
Indexed on
2010/12/27
18:53 UTC
Read the original article
Hit count: 155
Silverlight
|mvvm
I have a User Control for searching container numbers. If the user enters a container number that's new to the system then I want to tell the VM "I have a new record to add".
The MVVM method avoids using Events to communicate with the VM as they create code-behind. Should I create a Dependency Property to trigger the VM but I don't think I've seen other controls with a "NewRecord" property?
Any thoughts?
© Stack Overflow or respective owner