ItemsView.ItemInvoked Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)