Hi,
I have a small issue with the ToolbarManager Ribbons Caption Area background image.Within my application all forms are using the same style, The only difference, is that i want the Caption Background of 1 particular form to be different from the rest.
This works fine by overiding the form background image in the Load event like so:
toolbarManager.Ribbon.CaptionAreaAppearance.ImageBackground = my.Resources.formHeadertoolbarManager.Ribbon.CaptionAreaActiveAppearance.ImageBackground = My.Resources.formHeader
But, when i open another form, leaving this form in the background of the new form, the first form (with the modified image) changes the image back to the app style background image.
It looks like the CaptionAreaAppearance doesn't ovewrite the style background image either.. i must use the CaptionAreaActiveAppearance to see the overridden image.Is there a way to set the NonActiveAppearance at all? or should the base level CaptionAreaAppearance do this for us?
Cheers,
Craig
ohh great.. that did the trick..
thanks for your help mike..
The default resolution order with app styling is to use the application style first and then use the control settings. So it might actually be a bug that you were able to see you background image in the first place. Anyway, you can change this by opening up the ComponentRole for UltraToolbarsManager in AppStylist. In the 'Common Component Properties' section, set ResolutionOrder to ControlThenApplication.