UIElement.AreAnyTouchesOver 属性

定义

获取一个值,该值指示在此元素或其可视化树中的任何子元素上是否至少按下了一次触摸设备。Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.

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

属性值

如果在此元素或其可视化树中的任何子元素上至少按下了一次触摸设备,则为 true;否则为 falsetrue if at least one touch is pressed over this element or any child elements in its visual tree; otherwise, false.

适用于