Change slider bar color

后端 未结 6 735
梦毁少年i
梦毁少年i 2020-12-20 19:09

It should be very easy to do this but I haven\'t found the information that I need. What I want is as simple as changing the color of the slider bar:

6条回答
  •  清歌不尽
    2020-12-20 19:46

    Windows 8.1 Store/Phone Apps.

    Add this to the App.xaml and change the color values to your liking:

    
                            
                                    
                    
                    
                    
                
                
    
                
                
    
                
                
    
                
            
        
    

    You probably only want to change the slider for the default theme and probably only the three color values shown above. For all colors / resources that you can change, see this link at MSDN: Slider styles and templates.

提交回复
热议问题