Hey,
i just switched from StyleManager to implicit styles using this guide:
http://docs.telerik.com/devtools/silverlight/styling-and-appearance/styling-apperance-implicit-styles-overview
Using the styles from the theme dll provided in the NoXaml folder works fine.
1.
<
ResourceDictionary
>
2.
<
ResourceDictionary.MergedDictionaries
>
3.
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"
/>
4.
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"
/>
5.
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Navigation.xaml"
/>
6.
<
ResourceDictionary
Source
=
"/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Docking.xaml"
/>
7.
</
ResourceDictionary.MergedDictionaries
>
8.
</
ResourceDictionary
>
But when trying to create a style based on an existing one
1.
<
Style
x:Name
=
"MyComboBox"
TargetType
=
"telerik:RadComboBox"
BasedOn
=
"{StaticResource RadComboBoxStyle}"
>
2.
3.
</
Style
>
The RadComboBoxStyle (or any other base style) cannot be found. When referencing the .xaml files from the Themes.Implicit folder everything works as expected
1.
<
ResourceDictionary
Source
=
"Resources/Themes/Windows8/System.Windows.xaml"
/>
2.
<
ResourceDictionary
Source
=
"Resources/Themes/Windows8/Telerik.Windows.Controls.xaml"
/>
3.
<
ResourceDictionary
Source
=
"Resources/Themes/Windows8/Telerik.Windows.Controls.Docking.xaml"
/>
4.
<...>
Im just curious if this is the way things work. Without custom styles, use the .dll - if your want custom styles use the xaml files. But i dont see why referencing the .dll makes any difference. Can you explain this behaviour to me?
Thanks & Cheers,
Jes