标志性的瓷砖背景颜色问题 [英] Iconic Tile background color problem

查看:62
本文介绍了标志性的瓷砖背景颜色问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用Icon Tile,并在WMAppManifest.xaml中设置了背景颜色。当它只是一个静态磁贴时,它没问题,但是一旦我打开实时磁贴并用一些文本更新它并计数就会出现一个非常奇怪的问题。如果我调整瓷砖的大小,它会丢失
的颜色 - 紫色,而是获得强调色。还有其他人有同样的问题吗?

I am using Icon Tile and have set its background color in the WMAppManifest.xaml. When it's just a static tile it's ok, but once I turn the live tile on and update it with some text and count there's a really strange problem. If I resize the tile it looses its color - purple and get the accent color instead. Has anyone else had the same problem?

p.s。这是我预定的更新磁贴的代理

p.s. this is my scheduled agent that updates the tile

  IconicTileData NewTileData = new IconicTileData
  {
     BackgroundColor = Color.FromArgb(0, 78, 41, 96),
     Title = daysText
  };

推荐答案

您将颜色的Alpha设置为因此它是透明的。

You set Alpha of color to 0 so it's transparent.

BackgroundColor = Color.FromArgb(255, 78, 41, 96)





这篇关于标志性的瓷砖背景颜色问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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