Icon Button Image

,

The Windows Phone SDK comes with a set of icons that you can use freely in your app. The default location of the icon images is C:Program Files (x86)Microsoft SDKsWindows Phonev8.0Icons. Other free icon packs are also available online.

The icon image, for the ApplicationBarIconButton, should measure 48 by 48 pixels, but with a central area of 26 by 26 pixels. All content should be placed within a 26*26 square pixel area to ensure that it does not overlap the automatic circular button frame. Images that are other sizes will be scaled to fit, but image quality will be lower as a consequence.


Note

The circle displayed on each icon button is automatically generated by the application bar, and therefore should not be included in the source image.


The application bar automatically modifies the tone of your icon depending on the theme being used. This is to allow a single icon image to be used for both the light and dark phone themes.

Although icon button images can be either in PNG or JPG format, avoid using JPG, because this format does not support transparency and does not work well with the automatic tone conversion. All white pixels in a JPG image are replaced with the application bar’s foreground color.


Note

The ApplicationBarIconButton.IconUri is limited to relative URIs. Relative component URIs are not supported, nor are images located on the Web. Attempting to use an absolute URI will cause an ArgumentException to be thrown at runtime.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.155.49