【发布时间】:2011-11-26 12:36:10
【问题描述】:
我的应用程序中有很多页面,我决定在 App.Resources 中创建一个全局 ApplicationBar 样式:
<Style TargetType="shell:ApplicationBar">
<Setter Property="BackgroundColor" Value="#006699" />
</Style>
但是,当我尝试启动应用程序时,VS 给了我一个错误:
The property 'BackgroundColor' was not found in type 'Microsoft.Phone.Shell.ApplicationBar'.
这不是真的 - ApplicationBar.BackgroundColor Property。有什么问题?
【问题讨论】:
标签: xaml windows-phone-7 application-bar