This topic has not yet been rated - Rate this topic

EdgeGesture.Starting | starting event

Applies to Windows and Windows Phone

Fires when a user begins an action to summon or dismiss edge-based UI.


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

edgeGesture.onstarting = onStarting;

Event information

Delegate TypedEventHandler<EdgeGesture, EdgeGestureEventArgs>


This event occurs only with a touch interaction. A keyboard invocation of edge-based UI does not include this event. The Starting event is always followed by either a Completed or a Canceled event.

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


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]


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



See also

Edge gesture invocation sample



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.