IInputElement.IsStylusDirectlyOver 属性

定义

获取一个值,该值指示触笔是否位于最严格的命中测试意义上的此元素上。

public:
 property bool IsStylusDirectlyOver { bool get(); };
public bool IsStylusDirectlyOver { get; }
member this.IsStylusDirectlyOver : bool
Public ReadOnly Property IsStylusDirectlyOver As Boolean

属性值

true 如果触笔位于元素上,则为 ;否则,为 false.

注解

此接口不适用于公共实现。 有关详细信息,请参阅接口的 IInputElement 备注。

Windows Presentation Foundation (WPF) 核心(请参阅 ContentElement.IsStylusDirectlyOverUIElement.IsStylusDirectlyOver) 中的现有实现将此属性确定为依赖属性。

适用于

另请参阅