
Previously my application only had 1 large icon in the top left corner, which toggled the Backstage / ApplicationMenu, and no default Windows Application Icon in the titlebar was displayed, like in this example.
After upgrading, the Ribbon menu button turned small (same size as the default Windows Application icon), as well as the default titlebar icon was shown. This didn't look good, as we didn't want a duplicate of the same icon, and only the Backstage / ApplicationMenu was needed.
"No biggie" I thought, we can just remove setting the Icon attribute on the DockSiteWindow, which is the Main Window. This hid the icon in the titlebar.
However, this Icon was databound to a property that may change, so that the Taskbar icon changed depending on different circumstances. Now that I had removed databinding the Icon, I could no longer easily change the Taskbar icon. I tried several different ways involving P/Invoke and Windows API Code Pack, but just couldn't get it working.
So my question is, is there a way to get it back to look the "old" way, like in the example?
[Modified 1 year ago]