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
388
problem with themes
posted

I'm using XamNumericEditor like this

<igEditor:XamNumericEditor Theme="Generic"  ......../>

 

I assigned the theme because i don;t want any style in the programm to overrise the default style

 

Eventhough when i Apply theme like LipStick [Infragistics them]

this theme override the generic theme for my XamNumericControl why's that happened   ???????????????

 

Parents
No Data
Reply
  • 69686
    Suggested Answer
    posted

    Hello,

    This is happening because the WPF supports only one local style. So when you set a theme, styles that are declared higher in the element tree (for example in the Window's Resouces) will not be picked up. If you want a style to be applied and set a theme, you have to declare the style inside the resources section of that element (XamNumericEditor).

    Let me know if you have any questions on this. 

Children