Windows Phone 8.1中的AppBarButton主题

时间:2015-10-13 10:56:13

标签: windows-phone-8.1 resources winrt-xaml winrt-component

我已尝试覆盖AppBarItem和键盘的默认主题,但应用栏项目的重点颜色仍为默认值,我已使用的资源如下所示。是否可以在代码中更改AppBarItem的背景和按下声明的手机键盘的背景?

"PhoneAccentBrush",
"ButtonPressedBackgroundThemeBrush",
"ProgressBarIndeterminateForegroundThemeBrush",
"ProgressBarForegroundThemeBrush",
"ToggleSwitchCurtainBackgroundThemeBrush",
"SliderTrackDecreaseBackgroundThemeBrush",
"CheckBoxPressedBackgroundThemeBrush",
"AppBarBackgroundThemeBrush",
"AppBarBorderThemeBrush",
"AppBarItemBackgroundThemeBrush",
"AppBarItemPointerOverBackgroundThemeBrush"
"AppBarItemPressedBackgroundThemeBrush"

1 个答案:

答案 0 :(得分:0)

请你试试这个:

<{1>}页面中的

App.xaml.cs

更多信息:Overwrite Accent Color in App

相关问题