Share via


ItemsRepeater.ElementPrepared Event

Definition

Occurs each time an element is prepared for use.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

// 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;
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