This project has moved. For the latest updates, please go here.

ColorPicker.Popup.Style

Jan 8, 2016 at 4:15 AM
I'm fairly new to WPF. I'm trying to figure out how to alter the style of the Popup is shown. I really only want to change 1 thing: the background brush of the popup - and possibly the border settings. I just want to alter it to have the look & feel of the rest of my application.

Any pointers in the right direction would be greatly appreciated.
Developer
Jan 8, 2016 at 2:30 PM
Hi,

You need to redefine the template and change the Background/BorderBrush of the ColorPicker popup.
You can find the ColorPicker template in :
-Xceed.Wpf.Toolkit/ColorPicker/Themes/Aero2.Normalcolor.xaml (for windows 8)
-Xceed.Wpf.Toolkit/ColorPicker/Themes/Generic.xaml (for other windows)

Look for
-PanelBackgroundBrush and PopupDarkBorderBrush (in Aero2.NormalColors.xaml)
-PopupBackgroundBrush and ColorPickerDarkBorderBrush (in Generic.xaml)
which are the default Background/BorderBrush colors.