SvgImageSource.Opened 事件

定义

在下载并解码 SVG 源时发生,且未失败。

// Register
event_token Opened(TypedEventHandler<SvgImageSource, SvgImageSourceOpenedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SvgImageSource::Opened_revoker Opened(auto_revoke_t, TypedEventHandler<SvgImageSource, SvgImageSourceOpenedEventArgs const&> const& handler) const;
public event TypedEventHandler<SvgImageSource,SvgImageSourceOpenedEventArgs> Opened;
function onOpened(eventArgs) { /* Your code */ }
svgImageSource.addEventListener("opened", onOpened);
svgImageSource.removeEventListener("opened", onOpened);
- or -
svgImageSource.onopened = onOpened;
Public Custom Event Opened As TypedEventHandler(Of SvgImageSource, SvgImageSourceOpenedEventArgs) 
<SvgImageSource Opened="eventhandler"/>

事件类型

注解

当 Opened 事件发生时,它充当任何异步操作已完成且 SvgImageSource 的所有属性可供使用的通知。

适用于