Simulate some mouse events.
Syntax
Parameters
- modifiers
- a GestureModifiers value, some combination of GestureModifiers.Control, GestureModifiers.Shift, and GestureModifiers.Alt
- action
- a Gesture value, typically Gesture.MouseLeftButton; a value of Gesture.None does nothing
- down
- the Point in model coordinates for the mouse down event; this value must be within the ViewportBounds
- up
- the Point in model coordinates for the mouse up event; this value must be within the ViewportBounds
- other
- The Diagram where the mouse up occurs. If this is different from this panel's Diagram, a simulated drag-and-drop will occur. (This does not use real Windows drag-and-drop in WPF.) This may be null to use this panel's diagram, thus keeping the whole gesture within this one diagram.
See Also