鼠标和指针设备
鼠标和指针设备
control.PointerPressed += (args) =>
{
var point = args.GetCurrentPoint();
var x = point.Position.X;
var y = point.Position.Y;
if (point.Properties.IsLeftButtonPressed)
{
// 左键被按下
}
if (point.Properties.IsRightButtonPressed)
{
// 右键被按下
}
}Tapped 事件参数
参考资料
Last updated