EdgeGesture.Starting 事件

定義

當使用者開始執行動作以擷取或關閉邊緣型 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) 

事件類型

備註

此事件只會與觸控互動一起發生。 邊緣型 UI 的鍵盤調用不包含此事件。 Starting 事件一律後面接著 CompletedCanceled 事件。

呼叫此事件的處理常式時,可以呼叫應用程式來執行兩件事之一,並叫用取消作業:如果目前未顯示該 UI,則顯示其邊緣型 UI,或顯示 UI。

適用於

另請參閱