Introduction to the Image Control
Use the Form or Panel control, or inside a control's template on a mobile Web page. You can also drag it onto a mobile user control page. Specify the location of the image's file with the property. In addition, the Image control's property enables you to use the image as a link to any valid URL. Use the Image control's property to align the image left or right or to center it.control to specify an image to display. Image controls must be placed within a
Without the Image control, the widely varying capabilities of mobile devices make it nearly impossible to display the same image on all devices. However, by applying device filters, applications can select an image to display from a group of images. Each image in the group can be targeted toward specific types of devices. For example, your application can display a color image on handheld computers. When a user runs the same application on a Web-enabled cell phone, the application can instead select a simplified monochrome image more suitable to the phone's display. The Image control chooses the most appropriate image to display by overriding its property values for specific hardware.
In addition, applications that use the Image control can determine the values of many of the control's properties at run time. The Image control also supports data binding, enabling the property values to be set dynamically.