In my isl file have a default StyleSet which I use to style the way the UltraGrid looks through out the entire application. But now I have a specific grid that I only need to change the way the GridRow Role Selected state looks. I tried to create another StyleSet and based it off of the Default and then tried to change the Selected state of the GridRow Role but it is not overridding the default.
Is there way to override the Default styleset for specific state of role?
You could also use an image in the derived StyleSet to override the image in the default one.
Yep, the default sure does use an image.... great! :(
Thanks for your help.
If the default's selected or active background uses images, or a reource that uses image than it will not overwrite because the image will be on top of the color you are choosing.What you will have to do (I know this can be painful if you have had this default for a long while like me ;-) ), is start off by creating a brand new stylesheet library, but start from Blank. This was you will have full control of everything.
Hope this makes sense and helps.
Mike,
I think I've run into the same issue.
I have a default styleset setup for a grid's Active and Selected states for a row (based off the office 2007 isl).
I've added a new styleset to this isl (based on the Default styleset) so I can override these states for a specific grid. Even when in the Appstylist application I cannot see the formatting change when trying to change the selected and active background colors for the new styleset.
Does the styleset you "inherit" from override anything that "derives" from it?
Regards,Scott
The way you are doing it should work as long as you have set the StyleLibrary name on the grid to the name of the derived style library you created.