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
140
Programmatically editing a .isl file
posted

I'm just getting started w/ Infragistics and AppStylist.  I'd like to define a style for our application, but allow a user to modify the colors.  The app would provide a simple user interface to allow a user to say customize the colors for a grid.  The app would then create a copy of the .isl for that user with the selected colors and load it the next time the user logs in.

Is there some way to programmatically edit and save a .isl file?

 thanks,

lsr 

Parents
No Data
Reply
  • 469350
    Offline posted

    You might want to check out the AppStylist Runtime component. This is really more intended for developer use than user's though, as it's a bit complex for the average user. :)

    It is possible to modify the style library in code, of course. But it's a bit complex and it really depends what you want to do. 

    To get your started, what you can do is declare a variable of type ApplicationStyleLibrary. One you have that, you can load a library from a file or from memory and modify the proeprties of the various roles. 

     

Children
No Data