R – How to display an image within the WPF Aero Glass Titlebar

aeronetwpf

I have standard WPF Window that I have extended the Aero Glass on the top of the window around 50 pixels. I would like to keep the standard Min. Max. and Close buttons, Title Text and Window Icon.

I would like to display a few small images (i.e. icons) in the title bar, around the middle of the title bar. How could I do this? WPF will not display the images if I place them near the title bar, I assume as the title bar is non-client area.

Best Answer

Take a look at the WPF Chrome project on code.msdn.com. It draws an image on the title bar.