How should I handle multiple events per control w/command pattern using MVVM in Silverlight?
- 阅读更多 关于 How should I handle multiple events per control w/command pattern using MVVM in Silverlight?
问题 Is anyone using the SLExtensions command pattern (http://www.codeplex.com/SLExtensions) for associating commands to Silverlight control events? From what I've seen, you can only attach a command for one event per control. For example, you can only add a click event for a button, a keydown event for a textbox, etc. What if I wanted to add multiple events per control? For example, what if I wanted to add commands for both Click and Drop events for a button. Out of the box there does not seem to