wpf - How to make Foreground color of all controls White by default -
1- create new wpf application.
2- add controls wpf application.
3- see foreground color of controls black default.
how make foreground color of controls white default?
"foreground color of controls black default." because windows theme setting.
you can assign own foreground brush using controltextbrushkey key
<application.resources> <solidcolorbrush x:key="{x:static systemcolors.controltextbrushkey }" color="green"/> </application.resources> this setting seen in designer in property grid

Comments
Post a Comment