SvgImageSource.Opened Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the SVG source is downloaded and decoded with no failure.
// 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"/>
Event Type
Remarks
When the Opened event occurs, it serves as the notification that any asynchronous operations have completed and all the properties of an SvgImageSource are ready for use.