다음을 통해 공유


ItemContainer.ItemInvoked Event

Definition

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token ItemInvoked(TypedEventHandler<ItemContainer, ItemContainerInvokedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ItemContainer::ItemInvoked_revoker ItemInvoked(auto_revoke_t, TypedEventHandler<ItemContainer, ItemContainerInvokedEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<ItemContainer,ItemContainerInvokedEventArgs> ItemInvoked;
function onItemInvoked(eventArgs) { /* Your code */ }
itemContainer.addEventListener("iteminvoked", onItemInvoked);
itemContainer.removeEventListener("iteminvoked", onItemInvoked);
- or -
itemContainer.oniteminvoked = onItemInvoked;
Public Custom Event ItemInvoked As TypedEventHandler(Of ItemContainer, ItemContainerInvokedEventArgs) 

Event Type

Attributes

Applies to