Share via


IDynamicAnimatedVisualSource.AnimatedVisualInvalidated Event

Definition

Occurs when the animated visual previously provided by the IDynamicAnimatedVisualSource should be discarded.

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

// Register
event_token AnimatedVisualInvalidated(TypedEventHandler<IDynamicAnimatedVisualSource, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
IDynamicAnimatedVisualSource::AnimatedVisualInvalidated_revoker AnimatedVisualInvalidated(auto_revoke_t, TypedEventHandler<IDynamicAnimatedVisualSource, IInspectable const&> const& handler) const;
event TypedEventHandler<IDynamicAnimatedVisualSource,object> AnimatedVisualInvalidated;
Event AnimatedVisualInvalidated As TypedEventHandler(Of IDynamicAnimatedVisualSource, Object) 

Event Type

Applies to