SwipeItem.Invoked イベント

定義

ユーザーの操作で、この項目で表されるコマンドを実行する必要があることを示す場合に発生します。

UWP 用の同等の WinUI 2 API: Microsoft.UI.Xaml.Controls.SwipeItem.Invoked (Windows アプリ SDKの WinUI の場合は、Windows アプリ SDK名前空間を参照してください)。

// Register
event_token Invoked(TypedEventHandler<SwipeItem, SwipeItemInvokedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SwipeItem::Invoked_revoker Invoked(auto_revoke_t, TypedEventHandler<SwipeItem, SwipeItemInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<SwipeItem,SwipeItemInvokedEventArgs> Invoked;
function onInvoked(eventArgs) { /* Your code */ }
swipeItem.addEventListener("invoked", onInvoked);
swipeItem.removeEventListener("invoked", onInvoked);
- or -
swipeItem.oninvoked = onInvoked;
Public Custom Event Invoked As TypedEventHandler(Of SwipeItem, SwipeItemInvokedEventArgs) 
<SwipeItem Invoked="eventhandler"/>

イベントの種類

適用対象