【问题标题】:Tile title on Windows Phone 8.1 Silverlight appWindows Phone 8.1 Silverlight 应用程序上的磁贴标题
【发布时间】:2015-03-29 08:48:56
【问题描述】:

我将我的应用程序从 WP8.0 迁移到 WP8.1 Silverlight。现在磁贴将不再显示标题/应用名称。

Package.appxmanifest(图块的一部分)目前如下所示

  <m3:VisualElements DisplayName="Time Stamp" Square150x150Logo="Assets\Startscreen-Medium-Tile.png" Square44x44Logo="Assets\Applicaton-Icon.png" Description="Time Stamp work time tracker" ForegroundText="light" BackgroundColor="transparent">
    <m3:DefaultTile ShortName="Time Stamp" Square71x71Logo="Assets\Startscreen-Small-Tile.png" Wide310x150Logo="Assets\Startscreen-Wide-Tile.png">
      <m3:ShowNameOnTiles>
        <m3:ShowOn Tile="square150x150Logo"></m3:ShowOn>
        <m3:ShowOn Tile="wide310x150Logo"></m3:ShowOn>
      </m3:ShowNameOnTiles>
    </m3:DefaultTile>
    <m3:SplashScreen Image="Assets\SplashScreen\SplashScreenImage.scale-240.jpg" />
  </m3:VisualElements>

我已经搜索了一段时间的文档,但无法弄清楚缺少什么。引起我注意的是下面的注释,它属于 DefaultTile 的 ShortName 属性的描述 (https://msdn.microsoft.com/en-us/library/windows/apps/dn391672.aspx)

Note As of Windows 8.1, this property is ignored and the display name 
declared in the manifest is used in its place.

虽然它提到了 Windows 而不是 Windows Phone,但我也想知道它指的是什么清单。也许这里的文档不是 100% 正确的。

【问题讨论】:

    标签: c# silverlight windows-phone-8 windows-phone-8.1


    【解决方案1】:

    有时会发生这种情况,在提出问题后,我立即找出了导致问题的原因。似乎该项目必须完全重建才能使磁贴标题正确显示。难怪我在文档中找不到这方面的任何信息,因为只要清单发生变化,就应该清楚地做到这一点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多