-
Notifications
You must be signed in to change notification settings - Fork 311
EventTo Command: difference (advantages/ disadvantages). Can't see. #87
Comments
Comparing Microsoft.Xaml.Behaviors to MVVMLight there are noticeable differences. Note that I am comparing the open sourced Xaml Behaviours and not System.Windows.Interactivity which is used by MVVMLight so there may be some additional differences. Common behaviour: Differences: The derived TriggerAction class: The command itself. The command parameter. The major difference - the additional functionality of EventToCommand Less important differences: EventToCommand has a public Invoke method -> Invoke(null) |
Hello everyone,
Could anyone tell me about advantages od EventToCommand in contrast with classic InvokeCommandAction. Simple from the point of my experience I can't see an advantage.
Both are working. What was a reason of creation EventToCommand?
Usage EventToCommand in button
Usage classic InvokeCommandAction in button
The text was updated successfully, but these errors were encountered: