Condividi tramite


ItemContainerGenerator.ItemsChanged Evento

Definizione

Si verifica quando il contenuto della raccolta di elementi cambia.

public:
 virtual event ItemsChangedEventHandler ^ ItemsChanged;
// Register
event_token ItemsChanged(ItemsChangedEventHandler const& handler) const;

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

// Revoke with event_revoker
ItemContainerGenerator::ItemsChanged_revoker ItemsChanged(auto_revoke_t, ItemsChangedEventHandler const& handler) const;
public event ItemsChangedEventHandler ItemsChanged;
function onItemsChanged(eventArgs) { /* Your code */ }
itemContainerGenerator.addEventListener("itemschanged", onItemsChanged);
itemContainerGenerator.removeEventListener("itemschanged", onItemsChanged);
- or -
itemContainerGenerator.onitemschanged = onItemsChanged;
Public Custom Event ItemsChanged As ItemsChangedEventHandler 

Tipo evento

Si applica a

Vedi anche