Condividi tramite


SvgImageSource.Opened Evento

Definizione

Si verifica quando l'origine SVG viene scaricata e decodificata senza errori.

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

Tipo evento

Commenti

Quando si verifica l'evento Open, funge da notifica che tutte le operazioni asincrone sono state completate e tutte le proprietà di svgImageSource sono pronte per l'uso.

Si applica a