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 イベントの後には、常に Completed イベントまたは Canceled イベントが 続きます。

このイベントのハンドラーが呼び出されると、アプリを呼び出して、操作の取り消しを禁止する 2 つの操作のいずれかを実行できます。その UI が現在表示されていない場合はエッジベースの UI を表示するか、表示されている場合は UI を非表示にします。

適用対象

こちらもご覧ください