Windows手机日历今天appbar图标 [英] Windows phone calender todays appbar icon

查看:72
本文介绍了Windows手机日历今天appbar图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建日历应用程序使用的appbar图标 对于"今天"按钮。例如,它动态显示日期和月份为appbar按钮图标。

I need to create appbar icons like calendar app use  for "today" button . for example it dynamically shows date and month as appbar button icon.

如果我想对其他具有某些功能的应用使用相同的功能日历等。

If I want to use same for other app which has got some functionality like calendar etc.

推荐答案

根据我的知识,没有直接的方法。一种有希望的方法是使用API​​合并2个png文件并为您提供位图。

There is no straight forward way as per my knowledge. One promising way is to use the API which merges 2 png files and give you a bitmap.

请查看
http://writeablebitmapex.codeplex.com/SourceControl/latest#trunk/Source/WriteableBitmapEx/WriteableBitmapBlitExtensions.cs

Blit方法应该能够合并2个png文件。

The Blit method should be able to merge 2 png files.

为此,您需要为Months设置12个差异图标,为Date提供31个差异图标。然后合并它们以获得"今天"图标并将其应用于应用程序栏。 (最好有356个图标)

For this, you need to have 12 diff icons for Months are 31 diff icons for Date. Then merge both of them to get 'Today' icon and apply it in Application bar. (this is better that having 356 icons)


这篇关于Windows手机日历今天appbar图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆