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
495
Loading AppStylist files dynamically at runtime
posted

When loading the AppStylist files at runtime and you are using multiple styles, Is there anything that needs to be done before or after you make the Infragistics.Win.AppStyling.StyleManager.Load("Styles\Aero.isl")  call to change to the next styles file? Is it correct to say that the StyleManger can have multiple styles loaded at the same time? How do all the controls make the change from one style to the next or is this done automatically with the Load call?

Steve

Parents
  • 469350
    Offline posted

    Hi Steve,

    If you just call the overload of the method you have shown above, then loading a style will overwrite and replace any previous style libary that you loaded.  If you want to load multiple styles at once, then each style library needs to have a name, so you would call a different overload of the Load method that takes a filename and a style library name. Calling Load without specifying a name essentially load the default style library. 

     

Reply Children