如何更改Advanced ApplicationBar的背景?我尝试了这个,但它保持黑色。
<Sh:AdvancedApplicationBar Background="Gray">
<Grid>
<Sh:AdvancedApplicationBarIconButton Text="edit"
IconUri="/Assets/ActionBarButtons/btn_actionbar_edit.png"
Command="{Binding EditCommand}"
VerticalAlignment="Bottom" />
</Grid>
</Sh:AdvancedApplicationBar>
答案 0 :(得分:0)
将<Sh:AdvancedApplicationBar Background="Gray">
替换为<Sh:AdvancedApplicationBar BackgroundColor="Gray">
答案 1 :(得分:0)
我发现它,它是普通Appbar的包装器所以你需要这样做:
<phone:PhoneApplicationPage.ApplicationBar>
<shell:ApplicationBar BackgroundColor="Gray"
Opacity="0.5" />
</phone:PhoneApplicationPage.ApplicationBar>