Share via


EdgeGesture.Completed Event

Definition

Fires to indicate that the user has successfully summoned or dismissed the edge-based UI. This occurs either when the user lifts his or her finger from a touch-enabled screen or when the user presses Win+Z on the keyboard.

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

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

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

Event Type

Remarks

This event occurs as a result of either touch or keyboard input. In the case of keyboard input (Win+Z), this is the only event that fires. In the case of touch input, it occurs when the user lifts his or her finger at the end of the swipe and is preceded by the Starting event.

When the handler for this event is called, an app can do one of two things: show its edge-based UI if that UI isn't currently shown, or hide the UI if it is shown.

Applies to

See also