GazeInputSourcePreview.GazeExited 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.
Occurs when the eye-tracking device detects that the gaze point has moved outside the bounding area of the element.
// Register
event_token GazeExited(TypedEventHandler<GazeInputSourcePreview, GazeExitedPreviewEventArgs const&> const& handler) const;
// Revoke with event_token
void GazeExited(event_token const* cookie) const;
// Revoke with event_revoker
GazeInputSourcePreview::GazeExited_revoker GazeExited(auto_revoke_t, TypedEventHandler<GazeInputSourcePreview, GazeExitedPreviewEventArgs const&> const& handler) const;
public event TypedEventHandler<GazeInputSourcePreview,GazeExitedPreviewEventArgs> GazeExited;
function onGazeExited(eventArgs) { /* Your code */ }
gazeInputSourcePreview.addEventListener("gazeexited", onGazeExited);
gazeInputSourcePreview.removeEventListener("gazeexited", onGazeExited);
- or -
gazeInputSourcePreview.ongazeexited = onGazeExited;
Public Custom Event GazeExited As TypedEventHandler(Of GazeInputSourcePreview, GazeExitedPreviewEventArgs)
Event Type
Remarks
This event fires only in response to a gaze point leaving the bounding area of an element where a GazeEntered event already occurred.