CoreComponentInputSource.ClosestInteractiveBoundsRequested Evento

Definizione

Nota

Non destinato all'uso generale.

Si verifica quando un gestore di input del framework richiede il rettangolo di delimitazione di un elemento interattivo all'interno di un rettangolo di delimitazione specifico e più vicino a un puntatore specifico.

// 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) 

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)

Si applica a