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
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.