Megosztás a következőn keresztül:


EdgeGesture.Starting Event

Definition

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

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

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

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

Event Type

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.

Applies to

See also