c# - How to pass event arguments from view to view model? -
c# - How to pass event arguments from view to view model? -
i had project wich target .net 4.0 , convert 4.5.1. unistall mvvm lite 4.0 , install new mvvm light, 5.0.0.1.
however, have not eventtocommand , pass arguments of event view model. example, when select items in datagrid, want know in view selected items, because property selecteditems can binding because not dependency proerty, utilize mvvm lite pass objects.
so how can pass arguments event view view model?
thanks.
from site, mentioned that: version doesn’t include eventtocommand
, please utilize invokecommandaction
instead.
there solution provided here, might help you.
c# .net mvvm-light
Comments
Post a Comment