ItemContainerGenerator.ItemsChanged Event

Definition

Occurs when the contents of the items collection changes.

Equivalent WinUI event: Microsoft.UI.Xaml.Controls.ItemContainerGenerator.ItemsChanged.

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 

Event Type

ItemsChangedEventHandler

Applies to

See also