Posted 10 years ago by Brian Stewart
Hi, I have a ribbon in my app, and I have been using the ribbon button for a particular command on one of the ribbon tabs, but now I would like to animate between two different images on the button, depending on whether the mouse is hovering over the button or not. I understand the ribbon button does not normally support this - but is there some WPF trick where I can do this? Adam Nathan shows a simple example of doing this with two Image controls in his book WPF Unleashed, but when I try to put a regular button with a child Image control in my ribbon, it doesn't look right, and then when I click it I get a gigantic popup that covers half my screen. Any ideas, clues, or places to start reading would be welcome!