Version: 2020.1
public static bool HasPointerCapture (UIElements.IEventHandler handler, int pointerId);

参数

handler 正在测试的 VisualElement。
pointerId 捕获的指针。

返回

bool 如果元素捕获了指针,则为 true。

描述

测试元素是否已捕获了指针。


Did you find this page useful? Please give it a rating: