CoreComponentInputSource.ClosestInteractiveBoundsRequested Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Catatan
Tidak ditujukan untuk penggunaan umum.
Terjadi ketika manajer input kerangka kerja meminta persegi panjang pembatas elemen interaktif dalam persegi panjang pembatas tertentu dan paling dekat dengan penunjuk tertentu.
// 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)
Jenis Acara
Persyaratan Windows
Rangkaian perangkat |
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v3.0)
|