Hello all,
we found that XamCheckEditor is the only editor control not taking over the assigned metro style when we use the advanced style assignment with the Style keyword:
<StackPanel> <igEditor:XamCheckEditor/> <igEditor:XamCheckEditor Theme="Metro"/> <igEditor:XamCheckEditor Style="{x:Static igThemes:EditorsMetro.XamCheckEditor}"/> <igEditor:XamTextEditor/> <igEditor:XamTextEditor Theme="Metro"/> <igEditor:XamTextEditor Style="{x:Static igThemes:EditorsMetro.XamTextEditor}"/> <igEditor:XamNumericEditor/> <igEditor:XamNumericEditor Theme="Metro"/> <igEditor:XamNumericEditor Style="{x:Static igThemes:EditorsMetro.XamNumericEditor}"/> <igEditor:XamComboEditor/> <igEditor:XamComboEditor Theme="Metro"/> <igEditor:XamComboEditor Style="{x:Static igThemes:EditorsMetro.XamComboEditor}"/> </StackPanel>
Plus you can see small differences also with the other editors. Is there a way to
We are also aware of the following blog post, which helped us actually to understand how to combine styles: Blog - but why is this not working for XamCheckEditor?
BR Florian
Hi Florian,
I have received a reply from our development team and when the ‘Style’ property is used in order to apply a theme, the theme is not applied for any of the control completely. This is by design because the control is referring to a style for the theme, but this way the dynamic resources used in this style are not loaded. This is why the theme cannot be completely applied. This issue can be recognized in the other editors too. For example, you can open and close the second and third XamComboEditors and you will see the difference in their appearance. My suggestion is to use the ‘Theme’ property which purpose is to apply a theme on the controls.
Let me know, if you need any further assistance on this matter.
Hello Florian,
I have logged this behavior with our developers in our tracking system, with an issue ID of 190685. I have also created a support ticket on your behalf with number CAS-152789-V6Y5D1 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.