EdgeGesture.Canceled | canceled event

Applies to Windows and Windows Phone

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

Syntax


function onCanceled(eventArgs) { /* Your code */ }
 
// addEventListener syntax
edgeGesture.addEventListener("canceled", onCanceled);
edgeGesture.removeEventListener("canceled", onCanceled);
 
- or -

edgeGesture.oncanceled = onCanceled;


Event information

Delegate TypedEventHandler<EdgeGesture, EdgeGestureEventArgs>

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

EdgeGesture
Edge gesture invocation sample

 

 

Show:
© 2014 Microsoft