GazeInputSourcePreview.GazeExited Event

Definition

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.

Applies to

See also