ICoreWindow.TouchHitTesting Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the event that occurs when a touch contact area falls within a window that is registered for touch hit testing.
// Register
event_token TouchHitTesting(TypedEventHandler<CoreWindow, TouchHitTestingEventArgs const&> const& handler) const;
// Revoke with event_token
void TouchHitTesting(event_token const* cookie) const;
// Revoke with event_revoker
ICoreWindow::TouchHitTesting_revoker TouchHitTesting(auto_revoke_t, TypedEventHandler<CoreWindow, TouchHitTestingEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,TouchHitTestingEventArgs> TouchHitTesting;
function onTouchHitTesting(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("touchhittesting", onTouchHitTesting);
iCoreWindow.removeEventListener("touchhittesting", onTouchHitTesting);
- or -
iCoreWindow.ontouchhittesting = onTouchHitTesting;
Event TouchHitTesting As TypedEventHandler(Of CoreWindow, TouchHitTestingEventArgs)