Share via


ItemsRepeater.ElementPrepared Event

Definition

Occurs each time an element is prepared for use.

// Register
event_token ElementPrepared(TypedEventHandler<ItemsRepeater, ItemsRepeaterElementPreparedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ItemsRepeater::ElementPrepared_revoker ElementPrepared(auto_revoke_t, TypedEventHandler<ItemsRepeater, ItemsRepeaterElementPreparedEventArgs const&> const& handler) const;
public event TypedEventHandler<ItemsRepeater,ItemsRepeaterElementPreparedEventArgs> ElementPrepared;
function onElementPrepared(eventArgs) { /* Your code */ }
itemsRepeater.addEventListener("elementprepared", onElementPrepared);
itemsRepeater.removeEventListener("elementprepared", onElementPrepared);
- or -
itemsRepeater.onelementprepared = onElementPrepared;
Public Custom Event ElementPrepared As TypedEventHandler(Of ItemsRepeater, ItemsRepeaterElementPreparedEventArgs) 

Event Type

Remarks

The prepared element might be newly created or an existing element that is being re-used.

Applies to