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
625
Customize background of RibbonButtonChrom v14.1 -> v14.2
posted

We are currently using Infragistics v14.1. With Infragistics v14.1 we have an issue (application is crashing due to a problem with XamDockManager). The issue was fixed with Infragistics v14.2. Therefore, we have to switch from v14.1 to v14.2.

We are customizing the Infragistic control styles and colors. Especially the ribbon is styled a lot. With v14.2 we now face an issue that we cannot restyle the colors of the RibbonButtonChrome anymore. Previously (v14.1) we customized the colors with for example the following two keys:

-    igRibbon:RibbonBrushKeys.ButtonToolHoverCenterFillKey

-    igRibbon:RibbonBrushKeys.ButtonToolCheckedCenterFillKey

and the colors got correctly applied to our button tools shown in the ribbon. With v14.2 the colors with the above mentioned keys are no longer applied to the ribbon button tools. Is RibbonButtonChrome using different keys in v14.2 than in v14.1? How to customize the ribbon button tool background with v14.2?

Parents
  • 34850
    Offline posted

    Hello unassal,

    I have found that overriding the following two keys appears to modify the colors of a hovered and pressed ButtonTool with the latest service release for 14.2 (14.2.20142.2283):

    RibbonBrushKeys.ButtonToolHoverCenterFillKey
    RibbonBrushKeys.ButtonToolPressedCenterFillKey

    I am rather unsure why the override for the HoverCenterFillKey is not working for you in 14.2, but perhaps you have a separate style for your ButtonTool or some theming applied to your XamRibbon? I am attaching a sample project to demonstrate the above.

    If this sample project does not accurately depict the behavior that you are seeing in your application, would it be possible for you to please modify it and send it back such that it does? Or, if you have an isolated sample project of your own that you could share, that may be helpful as well.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer

    XamRibbonBrushesCase.zip
Reply Children