UIElement.IsMouseCaptureWithin 属性

定义

获取一个值,该值确定鼠标捕获是由此元素还是其可视化树中的子元素持有。Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. 这是依赖项属性。This is a dependency property.

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

属性值

如果此元素或包含的元素具有鼠标捕获,则为 true;否则为 falsetrue if this element or a contained element has mouse capture; otherwise, false.

注解

依赖项属性信息Dependency Property Information

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

适用于

另请参阅