user interface - how to change behavior of buttons in win8 -


i writing application win8. on mainpage there buttons, on wpf window. when enter (point) on of buttons background becomes background of grid inside. how can change this?

you can change default colors of controls if override them in app.xaml file.

you can find here pretty big list of customizations can controls, such method.

just change in app.xaml, need, :

<resourcedictionary.themedictionaries>     <resourcedictionary x:key="default">         <!-- button colors change-->             <solidcolorbrush x:key="buttonpointeroverbackgroundthemebrush" color="yourcolorhere" />     </resourcedictionary> </resourcedictionary.themedictionaries> 

note these changes made @ level of entire app. means, can't use 2 customizations same control.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -