CoreWindow.ClosestInteractiveBoundsRequested 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.
Note
Not intended for general use.
Occurs when a framework input manager requests the bounding rectangle of an interactive element within a specific bounding rectangle and closest to a specific pointer.
// Register
event_token ClosestInteractiveBoundsRequested(TypedEventHandler<CoreWindow, ClosestInteractiveBoundsRequestedEventArgs const&> const& handler) const;
// Revoke with event_token
void ClosestInteractiveBoundsRequested(event_token const* cookie) const;
// Revoke with event_revoker
CoreWindow::ClosestInteractiveBoundsRequested_revoker ClosestInteractiveBoundsRequested(auto_revoke_t, TypedEventHandler<CoreWindow, ClosestInteractiveBoundsRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,ClosestInteractiveBoundsRequestedEventArgs> ClosestInteractiveBoundsRequested;
function onClosestInteractiveBoundsRequested(eventArgs) { /* Your code */ }
coreWindow.addEventListener("closestinteractiveboundsrequested", onClosestInteractiveBoundsRequested);
coreWindow.removeEventListener("closestinteractiveboundsrequested", onClosestInteractiveBoundsRequested);
- or -
coreWindow.onclosestinteractiveboundsrequested = onClosestInteractiveBoundsRequested;
Public Custom Event ClosestInteractiveBoundsRequested As TypedEventHandler(Of CoreWindow, ClosestInteractiveBoundsRequestedEventArgs)
Event Type
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|