UWP(Universal Windows Platform) Tips
[C#][言語まとめ C#][Effective C# 4.0][Visual Studio][WPF]
Xaml
マウス
ポインター位置を取得
private void DrawCanvas_PointerPressed(object sender, PointerRoutedEventArgs e) { var p = e.GetCurrentPoint(DrawCanvas); Debug.WriteLine($"({p.Position.X},{p.Position.Y})"); }
YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto
Copyright© 矢木 浩人 All Rights Reserved.