Hi.
Adding own logo to Ribbon is simple. But, how to change image for every state of button? I want to do this, because my logo looks horrible on the orange background (under "Pressed" state).
I've tried to retemplate the entire AppMenu (the object "ApplicationMenuPresenter"). I've copied proper style from RibbonGeneric.xaml, but finaly I've gave up with this solution. There must be some simpler way to do this. I just want to put some images in coresponding grids (Normal, Hover, Pressed).
Any help would be appreciated
Lukasz.
There is only 1 Image property and that is the one used in our template. You could possibly retemplate the ApplicationMenuPresenter or even the ApplicationMenu itself to set your image property based on triggers but then you would have to use that as a local style/template which would mean the Theme property couldn't affect the element. One clean way to accomplish this would be to have a custom derived ApplicationMenu class that adds 2 new ImageSource properties and then you use those to coerce the Image property based on the state of the application menu.e.g.
Maybe a dumb question, but what is the bast way to inclue a company logo in the ribbon menu? I don't need it to be a link or button or have any functionality. I just need the image up there.
Thanks,
Steve