Share via


ItemsView.ItemInvoked Event

Definition

Occurs when an item in the ItemsView control receives a user interaction, while the IsItemInvokedEnabled property is set to true.

// Register
event_token ItemInvoked(TypedEventHandler<ItemsView, ItemsViewItemInvokedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ItemsView::ItemInvoked_revoker ItemInvoked(auto_revoke_t, TypedEventHandler<ItemsView, ItemsViewItemInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<ItemsView,ItemsViewItemInvokedEventArgs> ItemInvoked;
function onItemInvoked(eventArgs) { /* Your code */ }
itemsView.addEventListener("iteminvoked", onItemInvoked);
itemsView.removeEventListener("iteminvoked", onItemInvoked);
- or -
itemsView.oniteminvoked = onItemInvoked;
Public Custom Event ItemInvoked As TypedEventHandler(Of ItemsView, ItemsViewItemInvokedEventArgs) 

Event Type

Applies to