Styling Windows Phone 8.1/WinRT AppBarButton

人走茶凉 提交于 2019-12-06 12:23:00

Set the CommandBar's foreground and background colors.

The command bar on Windows Phone is system UI not app UI and does not allow customizing the colors of individual AppBarButtons. Their colors always come from the CommandBar's colors.

try changing app bar button color

            <AppBarButton x:Uid="SendMessageButton" Icon="Send" Foreground="" Background=""  Command="{Binding SendMessageCommand}" IsEnabled="{Binding IsSendMessageButtonEnabled}"/>

or change in code behind

  AppBarButton app = new AppBarButton();
            app.Foreground="";
            app.Background="";
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!