Reputation: 91
The touch start coordinates are the start coordinates of the rectangle. The touch end coordinate is the end coordinate of the rectangle.
In WPF or Silverlight, it's simple to get mouse events. UWP is difficult because it does not know touch start coordinates and moving coordinates and end coordinates.
What should I do?
Upvotes: 0
Views: 585
Reputation: 6091
In UWP, we don't use separate mouse/touch events. We use pointers and there's a type definition to each (pen/touch/mouse). Take a look at PointerPressed
and PointerReleased
events. You can get started here.
Upvotes: 1