Occurs when the image source for an Image or ImageBrush is downloaded and decoded with no failure.
A token that is returned from the function, which you can optionally retain as a variable. If you intend to call RemoveEventListener to remove the handler, you will need this token.
Event Handler Parameters
The object that invoked the event.
This parameter is always set to null.
<Image> <Image.Source> <BitmapImage ImageOpened="imgOpened" UriSource="cocointhesnow.png"/> </Image.Source> </Image>
You can also attach an ImageOpened handler for either Image or ImageBrush. However, this is considerably less useful for obtaining a pre-rendered image dimension because PixelHeight and PixelWidth are not available properties without the explicit BitmapImage.