This project has moved and is read-only. For the latest updates, please go here.

PropertyGrid styling (combobox trouble)

Jun 29, 2013 at 7:56 PM
Edited Jun 29, 2013 at 7:59 PM
I'm trying to create new theme for PropertyGrid (just change color). Because PropertyGrid is a composite control I also changed color in some other controls (such as WatermarkTextBox, NumericUpDown). That was in Xceed.Wpf.Toolkit source. After that I applied my style to standard controls (Button, ComboBox, ListView and etc.) in my project and everything is fine except combobox in PropertyGrid (combobox on my form looks fine). I know that this control is exactly combobox because
EnumComboBoxEditor : ComboBoxEditor : TypeEditor<System.Windows.Controls.ComboBox>


What did I wrong?
Jul 4, 2013 at 12:45 PM
In the class "ComboBoxEditor", there is an override of SetControlProperties(), which force a new style to the Editor. In v2.1 of the Toolkit, this part has been removed to be able to set a new style for property editors in XAML, making it easier to theme.