CoreIndependentInputSource.PointerRoutedReleased 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在曾经与指针关联(但当前未从中接收输入)的所有输入对象上发生,该指针在输入对象上触发 CoreIndependentInputSource.PointerReleased 事件。
// Register
event_token PointerRoutedReleased(TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
// Revoke with event_token
void PointerRoutedReleased(event_token const* cookie) const;
// Revoke with event_revoker
CoreIndependentInputSource::PointerRoutedReleased_revoker PointerRoutedReleased(auto_revoke_t, TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<ICorePointerRedirector,PointerEventArgs> PointerRoutedReleased;
function onPointerRoutedReleased(eventArgs) { /* Your code */ }
coreIndependentInputSource.addEventListener("pointerroutedreleased", onPointerRoutedReleased);
coreIndependentInputSource.removeEventListener("pointerroutedreleased", onPointerRoutedReleased);
- or -
coreIndependentInputSource.onpointerroutedreleased = onPointerRoutedReleased;
Public Custom Event PointerRoutedReleased As TypedEventHandler(Of ICorePointerRedirector, PointerEventArgs) Implements PointerRoutedReleased
事件类型
实现
Windows 要求
设备系列 |
Windows 11 (在 10.0.22000.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)
|