Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
UltraToolbarsManager ImageBackground changing when not in focus
posted

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.formHeader
toolbarManager.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