共用方式為


SwipeItem.Invoked 事件

定義

發生於用戶互動指出此專案所表示的命令應該執行時。

// 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"/>

事件類型

適用於