UIElement.IsStylusCaptureWithin Property


获取一个值,该值确定触笔捕获是由此元素还是由元素边界内的元素及其可视化树持有。Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. 这是依赖项属性。This is a dependency property.

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

Property Value


如果此元素或包含的元素具有触笔捕获,则为 true;否则为 falsetrue if this element or a contained element has stylus capture; otherwise, false. 默认值为 falseThe default is false.


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

依赖项属性信息Dependency Property Information

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

Applies to

See also