【发布时间】:2011-02-14 11:18:18
【问题描述】:
我想使用鼠标/键盘伪造操作(或触摸)事件。当我尝试使用以下方法引发事件时:
RoutedEventArgs e = new RoutedEventArgs(ManipulationStartedEvent,this);
RaiseEvent(e);
给我错误“无法将RoutedEventArgs 转换为ManipulationStartedEventArgs,并尝试创建新的ManipulationStartedEventArgs 会导致错误,因为ManipulationStartedEventArgs 没有构造函数。
可以这样做吗?
【问题讨论】:
标签: wpf multi-touch