I want to fake manipulation (or touch) events using a mouse / keyboard. When I try to raise the events using:
RoutedEventArgs e = new RoutedEventArgs(ManipulationStartedEvent,this);
RaiseEvent(e);
Gives me the error "Cannot convert RoutedEventArgs
to ManipulationStartedEventArgs
, and attempting to create a new ManipulationStartedEventArgs
results in an error as there are no constructors for ManipulationStartedEventArgs
.
Is it possible to do this?