CoreWindow.ClosestInteractiveBoundsRequested Событие

Определение

Примечание

Не предназначено для общего использования.

Происходит, когда диспетчер входных данных платформы запрашивает ограничивающий прямоугольник интерактивного элемента внутри определенного ограничивающего прямоугольника и ближе всего к определенному указателю.

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

Тип события

Требования к Windows

Семейство устройств
Windows 10 Anniversary Edition (появилось в 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v3.0)

Применяется к