Jaa


EdgeGesture.Canceled Event

Definition

Fires when a user cancels a show or hide action for an edge-based UI.

// Register
event_token Canceled(TypedEventHandler<EdgeGesture, EdgeGestureEventArgs const&> const& handler) const;

// Revoke with event_token
void Canceled(event_token const* cookie) const;

// Revoke with event_revoker
EdgeGesture::Canceled_revoker Canceled(auto_revoke_t, TypedEventHandler<EdgeGesture, EdgeGestureEventArgs const&> const& handler) const;
public event TypedEventHandler<EdgeGesture,EdgeGestureEventArgs> Canceled;
function onCanceled(eventArgs) { /* Your code */ }
edgeGesture.addEventListener("canceled", onCanceled);
edgeGesture.removeEventListener("canceled", onCanceled);
- or -
edgeGesture.oncanceled = onCanceled;
Public Custom Event Canceled As TypedEventHandler(Of EdgeGesture, EdgeGestureEventArgs) 

Event Type

Remarks

This event occurs only with touch input; the user either moves their finger back to the interaction's starting position and lifts, or continues to drag their finger into the middle of the screen. This event is always preceded by a Starting event.

Cancelling the action causes the UI that is being summoned or dismissed to animate back to the state that it was in before the Starting event.

Applies to

See also