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
Post a Comment