Dear all,
I'm having a slight problem with programmatically changing Themes (Office_Black, Summer, etc) for my RadControls. It works perfectly fine when doing it beforehand in xaml, and changing Themes at runtime works fine for all controls except the RadComboBox and the RadPanelBar controls- these simply don't ever change from the default Office_Black theme, while all other controls change theme just fine. Note that I have tried both using StyleManager.SetTheme() and instance.SetValue(StyleManager.ThemeProperty, theme), both of which yield the exact same result.
Here is a small project that demonstrates this.
Any thoughts on what I could be doing wrong would be much appreciated.
Cheers,
Frits Verhoef.
I'm having a slight problem with programmatically changing Themes (Office_Black, Summer, etc) for my RadControls. It works perfectly fine when doing it beforehand in xaml, and changing Themes at runtime works fine for all controls except the RadComboBox and the RadPanelBar controls- these simply don't ever change from the default Office_Black theme, while all other controls change theme just fine. Note that I have tried both using StyleManager.SetTheme() and instance.SetValue(StyleManager.ThemeProperty, theme), both of which yield the exact same result.
Here is a small project that demonstrates this.
Any thoughts on what I could be doing wrong would be much appreciated.
Cheers,
Frits Verhoef.