Change Accent Color in Windows 10 UWP

后端 未结 4 1526
迷失自我
迷失自我 2020-12-07 23:29

I dont really want to use the accent color that the user has chosen in Windows in my app, and instead want to have my own color show. I can change it manually on all the ite

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 23:43

    What worked for me was setting

     
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
        #FFCB2128
    

    In the app.xaml file in order to overwrite the onese set by windows.

提交回复
热议问题