Displaying Images with the Image Element
The Image
is a FrameworkElement
that makes it easy to display both local or remote images on the phone.
The Image
element supports two image formats: PNG and JPEG, and displays indexed images with 1, 4, or 8 bit color-depth, or true color images with 24 or 32 bit color-depth.
The Image.Source
property is used to set the URI of the image file location. This value can be either an absolute or relative URI. A URI can be used to specify a source file from a variety of locations, including the following:
The current assembly
A referenced assembly
The XAP file
An external network, such as an image on the ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.