Hi Team,
I want to change the backcolor(color is known during run-time, and could be changed) of popup title bar in our application.
As of now, the underlying Form has UltraToolbarsManager, and we use the stylesheet role "RibbonCaptionArea" to set the normal backcolor. But in our application, we have no access to this "UltraToolbarsManager"(it's wrappered in our GUI framework). We're able to set the text of the title bar.
Now we need to change the color of the title bar during run-time.
1. Is there a way that we could overwrite the "RibbonCaptionArea" just for one popup title bars? I don't want to apply the color to all title bars.
2. Or is there other way that we could use to change the title bar color?
3. As an alternative, I tried html kind of code as the title text to change the backcolor of the title text(it's not the backcolor of the title bar, would have to use this method if I can't change the title bar color). But for this one, how can I append multiple whitespaces to the title text?(iThey're always combined into one whitespace)
For example: Title = "<span style='background-color:Red; color:Black; font-size:12pt; white-space:pre;'>Testing </span>"
Thanks,
Shirley
Hello Shirley,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hi Shirley,
Thank you for the reply.
I have tested settings the title to:
<span style="color:Black; background-color:Red; font-size:12pt;">Testing </span>
and the red square around the title is properly displayed is displayed properly. What theme are you using? What is the version of NetAdvantage that you are using? What is your OS? Also it would be extremely helpful if you are able to isolate this in a separate sample.
I am looking forward to your reply.
Hi Dimitar,
Thanks for the prompt reply.
Unfortunately I was only able to try the Title property, but it also looks a bit weird. The height of the space part is different from the part with words.
Pls refer to the attachment.
goodlord, no effective solutions...