We have a form similar to the image attached. Currently all the controls are with same background colour so theme is being applied with one colour for each control. As you see in the attached images we want to have controls in the top and bottom to be with darker background and the controls in the middle with the silver background.
Can you tell how I can specify the theme for the same. If it is by using style set then is there some way in which I can set stylesetname on controls automatically instead of setting it for each one using the designer.
In addition, is there some generic way of changing icons for the forms and tools inside for different themes.
Thanks,
Puneet
Hi,
You can apply different styles to individual controls using the StyleLibraryName or StyleSetName property on the control and then loading two different style libraries into memory, or a single library with multiple StyleSets.
The problem here is not the panels but setting the appstyling according to panels at different location. Since isl file is applied to the control application wide then how can we differ between the panel on the top and in the middle in some generic automatic way while applying the appstyling.
Hello Puneet,
Thank you for contacting Infragistics.
To get something similar to the screenshots you provided you would need to use one UltraPanel for each different set of controls with the same background color. You could set one to be docked top, another to be docked bottom, and the last to be docked fill. You would then set the background color for each panel appropriately.
Please let me know if you have any other questions about this.