IDynamicAnimatedVisualSource.AnimatedVisualInvalidated 事件

定义

在之前由 IDynamicAnimatedVisualSource 提供的动画视觉对象应丢弃时发生。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

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

事件类型

适用于