共用方式為


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 的所有屬性都已可供使用。

適用於