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
110
Template for RibbonButtonChrome?
posted

I want to change the hover state gradient background for the RibbonButtonChrome. I can't seem to find the template for RibbonButtonChrome.

If the template is not exposed, is there other ways to do this? Thanks,.

  • 54937
    Offline posted

    Like the chrome classes in the various theme assemblies (e.g. PresentationFramework.Luna), the RibbonButtonChrome does all its work in code. You can change the brushes that it uses (e.g. RibbonBrushKeys.ButtonToolPressedBorderDarkFillKey) but you cannot change how it renders.