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
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.
When you say in the ribbon menu, do you mean to put an image in the application menu button (the round button in the upper left)? If so, then you can set the Image property of the ApplicationMenu. If that's not what you mean can you please elaborate on your requirements?
I did see information on how to put an image in the round button, but I was looking more for a way to just have my client's logo appear on the ribbon menu for branding. Coming from a web-development background, I'd compare it to the way that many companies will have their logo in a header section which also contains their navigation menus. Since the ribbon menu it aready at the top of my form, the client just said, "We'd like to see our logo up there at the top."
Thanks for the reply,
I'm still unsure as to where you wanted to put the logo within the ribbon. There are the Office 2007 UI Guidelines that you must comply with but assuming it does not violate that maybe you can retemplate the XamRibbon and place your image where you need to within that element. The default styles are included with the install.