Hello,
I have implemented implicit themes using the Merged Dictionary approach documented on your help site. For changing themes, I clear the application merged dictionary then re-add the dictionaries for the new theme. This works fine, but for many of our controls we also need to apply other styles. We used the 'BasedOn' property of the style like below:
When the merged dictionary gets cleared and the new theme applied, it seems that some of these controls using BasedOn do NOT get updated properly. My guess would be that since it's a StaticResource, it will not get updated when the merged dictionary is reset.
Do you guys know of any workaround or a fix for this?
Thanks
I have implemented implicit themes using the Merged Dictionary approach documented on your help site. For changing themes, I clear the application merged dictionary then re-add the dictionaries for the new theme. This works fine, but for many of our controls we also need to apply other styles. We used the 'BasedOn' property of the style like below:
<
Style
TargetType
=
"telerik:RadComboBox"
BasedOn
=
"{StaticResource RadComboBoxStyle}"
>
<
Setter
Property
=
"Padding"
Value
=
"5"
/>
</
Style
>
When the merged dictionary gets cleared and the new theme applied, it seems that some of these controls using BasedOn do NOT get updated properly. My guess would be that since it's a StaticResource, it will not get updated when the merged dictionary is reset.
Do you guys know of any workaround or a fix for this?
Thanks