Share via


CoreComponentInputSource.ClosestInteractiveBoundsRequested Ereignis

Definition

Hinweis

Nicht für den allgemeinen Gebrauch vorgesehen.

Tritt auf, wenn ein Frameworkeingabe-Manager das begrenzungsbezogene Rechteck eines interaktiven Elements innerhalb eines bestimmten begrenzungsenden Rechtecks anfordert und einem bestimmten Zeiger am nächsten kommt.

// Register
event_token ClosestInteractiveBoundsRequested(TypedEventHandler<CoreComponentInputSource, ClosestInteractiveBoundsRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void ClosestInteractiveBoundsRequested(event_token const* cookie) const;

// Revoke with event_revoker
CoreComponentInputSource::ClosestInteractiveBoundsRequested_revoker ClosestInteractiveBoundsRequested(auto_revoke_t, TypedEventHandler<CoreComponentInputSource, ClosestInteractiveBoundsRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreComponentInputSource,ClosestInteractiveBoundsRequestedEventArgs> ClosestInteractiveBoundsRequested;
function onClosestInteractiveBoundsRequested(eventArgs) { /* Your code */ }
coreComponentInputSource.addEventListener("closestinteractiveboundsrequested", onClosestInteractiveBoundsRequested);
coreComponentInputSource.removeEventListener("closestinteractiveboundsrequested", onClosestInteractiveBoundsRequested);
- or -
coreComponentInputSource.onclosestinteractiveboundsrequested = onClosestInteractiveBoundsRequested;
Public Custom Event ClosestInteractiveBoundsRequested As TypedEventHandler(Of CoreComponentInputSource, ClosestInteractiveBoundsRequestedEventArgs) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Gilt für: