【问题标题】:windows phone silverlight 8 app system tray color changewindows phone silverlight 8 app 系统托盘颜色变化
【发布时间】:2017-08-26 22:20:03
【问题描述】:

我正在制作一个 windows phone silverlight 8 应用程序。我想通过应用程序更改顶部系统托盘的颜色,即;在页面之间的过渡期间以及在启动屏幕可见时。有办法吗?请告诉我是否有。

我已经知道如何在特定页面上更改颜色,但是在页面转换和启动屏幕期间不会应用该颜色。我想要以下颜色。

背景:#244421 前景:白色

提前致谢。

【问题讨论】:

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


    【解决方案1】:

    您可以对所有页面执行以下操作(或通过代码):

    <phone:PhoneApplicationPage
        ...
        shell:SystemTray.IsVisible="True"
        shell:SystemTray.BackgroundColor="#FF244421"
        shell:SystemTray.ForegroundColor="White">
    

    或者您可以尝试定义资源。

    【讨论】:

    • 正如我已经说过的,这只适用于一个特定的页面,我已经做到了,但我想在整个应用程序中应用它,包括页面转换和应用程序启动屏幕。谢谢你
    猜你喜欢
    • 2011-12-25
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多