I have an ultraprogressbar that I segment with "percentsetting" to different colours and turn useAppStyling to False and everything appears perfectly in colour.
Now I embed that same ultraprogressBar into a cell in the grid (MyGrid.Rows(I).Cell(column).EditorComponent = MyProgressBar) and the segment colours do not appear. It is overwritten by the grid appstyle setting. If I turn off our AppStylist then the ProgressBar in the grid appears in colour.
Is there a way without removing the appstyling in the grid to get my progressbar showing in colour? Thanks.
Yes, unfortunately the file I sent you was corrupted with some manual last minute editing.
I verified my resolution order. I verified the properties with your "New StyleSet.isl" file and I still cannot get it to work with just those settings. I noticed that in your sample you created the ProgressBar in the designer while I instantiate a new control in code. Could this make a difference? I will try this out. In the meantime I've re-attached my error free isl file.
Thank You for your assistance in this matter.
Hi Bob,
I have looked at the isl file you have sent me. However, I could not open it using Appstylist as there were some syntax errors in the isl file. I assume you were trying to manually change the isl file settings for modifying the ResolutionOrder of UltraGrid.
I’m able to change ResolutionOrder of UltraGrid and was able to display the Grid ProgressBar in color. You can refer to the attached sample for implementing this. To achieve this, in the New StyleSet.isl I modified the Component Role for UltraGrid so that its ResolutionOrder is ControlThenApplication.
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
I've attached my isl file. It originates from one of the Infragistics Samples that I have been modifying to suit our needs.
Thank You for your assistance. Regards, Bob.
Please send me the isl file you are using for your UltraGrid and I will review it to see which UIElement style is overriding the ProgressBar color in UltraGrid.
I've tried setting the resolution order "ControlThenApplication" and I still get the same result.
I'm a bit of a newbie when it comes to the AppStyling in Infragistics. Could you point me in the right direction as to what property I would need to modify to allow the progressbar embedded editor to display correctly in the Wingrdi. Thanks. Regards, Maurice.