本文介绍了缺少mvvmlight EventToCommand行为的Windows 8 - 补救措施?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题说,这一切真的:)

Question says it all really :)

我在写使用MVVM光在XAML / C#Windows 8应用,我已经注意到了EventToCommand功能不是招 ŧ尚未落实。

I'm writing a Windows 8 app in XAML/C# using MVVM Light and I've noticed the EventToCommand feature hasn't been implemented yet.

是否有任何变通对于这一点,任何人都可以建议?

Are there any work arounds for this that anybody can suggest?

谢谢!

推荐答案

查看由LocalJoost写的EventToCommand行为,使用无功扩展:

Check out the EventToCommand behavior written by LocalJoost which uses Reactive Extensions:http://dotnetbyexample.blogspot.be/2012/07/a-winrt-behavior-to-mimic-eventtocommand.html

这篇关于缺少mvvmlight EventToCommand行为的Windows 8 - 补救措施?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 14:15