Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Change background colour of PropertyGrid in CollectionEditor

$
0
0
Hi,

There is an explicit style defined for the Expander of the Category. You will have to modify this Expander's background in the xaml file of the PropertyGrid. You can find this file here :
-Xceed.Wpf.Toolkit/PropertyGrid/Themes/Aero2.NormalColor.xaml.cs (for windows8)
-Xceed.Wpf.Toolkit/PropertyGrid/Themes/Generic.xaml (for windows7)
Simply Add something like :
Background="Red"
to this expander :
<Expander Header="{Binding Name}"
                                 Style="{StaticResource ExpanderStyle}">
and recompile the Toolkit.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>