EdgeGesture.Starting | starting event

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

Syntax


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>

Remarks

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.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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