Share via


SwipeItem.Invoked Event

Definition

Occurs when user interaction indicates that the command represented by this item should execute.

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

Event Type

Applies to