Posted 20 Oct 2011 Link to this post
internal
static
void
ApplyConfiguredTheme()
{
switch
(GetConfiguredTheme())
case
ThemeEnum.Black:
StyleManager.ApplicationTheme =
new
Office_BlackTheme();
break
;
ThemeEnum.Blue:
Office_BlueTheme();
ThemeEnum.Silver:
Office_SilverTheme();
ThemeEnum.Win7:
Windows7Theme();
}
Posted 21 Oct 2011 Link to this post
When you set the theme at an application theme level it will be applied only to RadControls/WPF, not to the native ones. The TextBox, CheckBox, Button etc.. would not be styled in this way. What you may do is to programmatically set the theme for the TextBox controls after setting the global application theme. You should set directly the theme for these based on your current application theme and they will be styled correctly.
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Posted 27 Oct 2011 Link to this post
Posted 21 Nov 2011 Link to this post
Thank you for your answer.
Is it possible do it in XAML only?