Please try it with:
PointerPoint pt = e.GetCurrentPoint(grid );
Btw: Why don't you use a Canvas instead of a Grid for that senario?
Thomas Claudius Huber
"If you can't make your app run faster, make it at least look & feel extremly fast"
My latest Pluralsight-course: Windows Store Apps - Data Binding in Depth
twitter: @thomasclaudiush
homepage: http://ift.tt/1fArvuE
author of: ultimate Windows Store Apps handbook | ultimate WPF handbook | ultimate Silverlight handbook
No comments:
Post a Comment