Canceled | canceled event
Collapse the table of content
Expand the table of content

EdgeGesture.Canceled | canceled event

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

Syntax


Public Event Canceled As TypedEventHandler(Of EdgeGesture, EdgeGestureEventArgs)

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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2016 Microsoft