开发者

How do I reference the dark theme icons in the windows phone 7 sdk?

the dark theme is located here

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Icons\dark

How do I reference this file for example appbar.next.rest.png in the following

<phone:PhoneApplicationPage.ApplicationBar>
    <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
        <shell:ApplicationBarIconButton IconUri="/Images/appbar.prev.rest.png" Text="Previous"/>
        <shell:Applica开发者_C百科tionBarIconButton IconUri="/Images/appbar.next.rest.png" Text="Next"/>

....


For application bar icons you don't need to switch the paths for different themes. The way application bar uses the image as a mask over the appropriate theme colour. This way you only need to provide the white and transparent image.

You can read more about this at Creating Custom Application Bar Icon

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜