Hi,
I have set appstyling on some of my windows forms. I have used style library name and styleset name for all controls so that the theme is not loaded on the UIs where I do not want it to. I have also added dynamic styling using the runtime version of appstylist. But we are facing a problem related to 'Role Selection' not being popup when hovering over controls which have style library specified. Can you let me know if this is intended and whether there are some workaround for the same.
I have attached a sample application of yours in which the Role Selection will not popup for Calculator and ultrabutton2 in the bottom as the have style set specified.
Thanks,
Puneet
good
Hi Puneet,
Oh, I see. I knew there must be something about my responses that was unclear, but I couldn't figure out what it was. There's no way to change the StyleLibraryName through the UI, it has to be done in code.
Mike,
Thanks, for your response. We were searching on the appStylistRuntime which pops up when run since we felt that the change could be done in runtime.
Thanks for your patience.
Okay, I ran your sample and it doesn't work for me, either. But this is because the StyleLibraryName on the AppStylistRunTime component is still blank. You have to set this property to "DefaultTheme" so that it's editing the same library that your controls are using.
Hi Mike,
We need multiple stylesets and libraries as we are going to use it differently in different forms. We have tried different ways as you mentioned above trying to
1. load the library before AppstylistRuntime is started.
2. Loading the isl file in the appstylist runtime after it is started.
3. Changing names of everything to the same name. etc.
I have attached a sample in which we have set the style library name of few controls. Then we load an isl file with style library specified to the same and then running the AppStylistRuntime but we are never able to change the look of controls for which we specify the style library name. We are only able to change the look for controls for which the style library name is blank. Can you please show how it can be achieved.