==UWP([[Universal Windows Platform]]) Tips==
[[C Sharp]] | [[言語まとめ C Sharp]] | [[Effective C Sharp 4.0]] | [[Visual Studio]] | [[WPF]] |
===マウス===
====ポインター位置を取得====
private void DrawCanvas_PointerPressed(object sender, PointerRoutedEventArgs Pointer[[R]]outedEventArgs e)
{
var p = e.GetCurrentPoint(DrawCanvas);
Debug.WriteLine($"({p.Position.X},{p.Position.Y})");
}