VirtualizingStackPanel.CleanUpVirtualizedItemEvent 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 that is hosted by the VirtualizingStackPanel is re-virtualized.
public:
virtual event CleanUpVirtualizedItemEventHandler ^ CleanUpVirtualizedItemEvent;
// Register
event_token CleanUpVirtualizedItemEvent(CleanUpVirtualizedItemEventHandler const& handler) const;
// Revoke with event_token
void CleanUpVirtualizedItemEvent(event_token const* cookie) const;
// Revoke with event_revoker
VirtualizingStackPanel::CleanUpVirtualizedItemEvent_revoker CleanUpVirtualizedItemEvent(auto_revoke_t, CleanUpVirtualizedItemEventHandler const& handler) const;
public event CleanUpVirtualizedItemEventHandler CleanUpVirtualizedItemEvent;
function onCleanUpVirtualizedItemEvent(eventArgs) { /* Your code */ }
virtualizingStackPanel.addEventListener("cleanupvirtualizeditemevent", onCleanUpVirtualizedItemEvent);
virtualizingStackPanel.removeEventListener("cleanupvirtualizeditemevent", onCleanUpVirtualizedItemEvent);
- or -
virtualizingStackPanel.oncleanupvirtualizeditemevent = onCleanUpVirtualizedItemEvent;
Public Custom Event CleanUpVirtualizedItemEvent As CleanUpVirtualizedItemEventHandler
<VirtualizingStackPanel CleanUpVirtualizedItemEvent="eventhandler" />