Toolkit.MVVM - how to binding events with parameters? #4298
Unanswered
zwolenik
asked this question in
Questions & Help
Replies: 1 comment
-
The general pattern to take a generic event and hook into MVVM is either just wire up and call the command with parameters in code-behind from the event callback or use XAML Behaviors to do it from XAML. You can combine the EventTriggerBehavior and InvokeCommandAction together in order to transform any event into a call to a command/parameter. Generally you want your parameter to be your model type as you don't want to forward things like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody.
Working on some application and learning using MVVM model using toolkit I found som problem how implement some advanced events into view model.
For example when I would like to implement DataGrid event like
InitializingNewItem
what I need to do to implement them?
Beta Was this translation helpful? Give feedback.
All reactions