Change Accent Color in Windows 10 UWP

后端 未结 4 1578
迷失自我
迷失自我 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:59

    To change accent color on every system control you have to redefine the system resource as follows.

    Note that SystemAccentColor is a color, not a brush. If you don't redefine all other brushes, the color won't be applied on everything.

    
           
        #FF20A060  
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
    
    

提交回复
热议问题