2018-2-13-WPF-获得触笔悬停元素上

title author date CreateTime categories
WPF 获得触笔悬停元素上
lindexi
2018-2-13 17:23:3 +0800
2018-2-13 17:23:3 +0800
WPF

触笔可以获得悬停在元素上,这时触笔没有碰到元素,没有碰到屏幕。

如果使用触笔,那么在悬停就需要显示光标位置,这时使用UIElement.StylusInAirMove 事件可以获得触笔悬停在元素上。

需要知道,这个事件是 .net Framework 3.0 之后添加的。

UIElement.StylusInAirMove 事件 (System.Windows)

原文地址:https://www.cnblogs.com/lindexi/p/12086123.html