ContentElement.IsStylusOver 属性

定义

获取一个值,该值指示触笔是否位于此元素(包括可视子元素)上。Gets a value that indicates whether the stylus is located over this element (including visual child elements).

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

属性值

Boolean

如果触笔位于此元素或其子元素上,则为 true;否则为 falsetrue if the stylus is over the element or its child elements; otherwise, false. 默认为 falseThe default is false.

实现

注解

如果此元素具有触笔捕获,则此属性将保留, true 直到失去触笔捕获并超出其边界。If this element has stylus capture, this property remains true until stylus capture is lost and the pointer is out of its bounds.

触摸、鼠标和触笔输入在特定关系中存在。Touch, mouse, and stylus input exist in a particular relationship. 有关详细信息,请参阅 输入概述For more information, see Input Overview.

依赖项属性信息Dependency Property Information

标识符字段Identifier field IsStylusOverProperty
元数据属性设置为 trueMetadata properties set to true None

适用于