Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
754
XamCheckEditor & Metro style
posted

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

Parents
  • 35319
    posted

    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.

Reply Children