Hi there
Happy user of Infragistics for quite a while, I've started looking into the app stylist. Yields fantastic results BUT I haven't found a way to style the form title bar: is it possible? I know you can control the form through the toolbar managers. I've used it, but then only 1 style is available (the blue office theme) and when I use that in conjunction with the green ISL file, I can not see the name of my application as the font turns to white (i.e. white font on white title bar...). Is it possible to override the fore color for the caption bar? More generally, what is available for this kind of UI tweaking?
Thanks!
I'm not sure, but I think you can style the title bar as long as you are using UltraWinToolbars to make the form display with rounded borders like Office2007.
The tricky part of this is that there's no way for AppStylist to display a preview of this. Or... I guess it could be done, but currently it does not do so. It's simply not possible for AppStylist to preview every possible combination of properties for every control and this is one that is left out.
So this is where the AppStylistRunTime really comes in handy. What you can do is place the AppStylistRunTime component on a form and then call the ShowRuntimeApplicationStylingEditor method at run-time. This allows you to display the AppStylist UI like the role tree and role editor along with your real application or some test application. If you do this with a ToolbarsManager on the form with the Office2007 display style you will be able to mouse over the title bar area and you will get the roletips so you can find the appropriate UI roles to style.
Thanks, worked like a breeze!
Can you give me a hint please? I don't get a role tip when moving over the titlebar of the form.
Usually, the buttons on the title bar are drawn by Windows and are not stylable. They are only stylable in the case where the UltraToolbarsManager takes over their drawing, which only happens when you are using the Office2007 style for the form.
To do that, you have to set IsGlassSupported on the UltraToolbarsManager to false so that the Windows Vista glass look doesn't override the Office2007 look. Then you have to either use the Ribbon or set the FormDisplayStyle on the UltraToolbarsManager to one of the Rounded styles.
you can change the title bar using ribbon caption are fine, but how do you change the border colour? I am unable to change the border to match my new green title bar!?
You can change titlebar properties if you have a ribbon control on the form(ultratoolbarsmanager) under the ribboncaptionarea section