WPF, possibly ribbon control: Adding icon to title bar

1.9k Views Asked by At

I believe that the little icon in the title bar in the image below is added using a ribbon control? I've been googling for the last while and I'm not getting much help.

There's a WPF ribbon control library from Microsoft, but the same from that does not set anything in the title bar.

I've also found a microsoft shell library which integrates some windows 7 bits into wpf and allows you to fiddle with the chrome. It hasn't seen updates in a year, so not sure if it's current yet.

Any ideas?

Related question Does it only work on Windows 7? I don't have any XP machines to see what Office 2010 looks like. I'd prefer a XP/Windows 7 WPF solution if possible.

How do I do this?

2

There are 2 best solutions below

0
On BEST ANSWER

That is called the Quick Access Toolbar and there is an example at the end of this MSDN page.

It should work the same on both XP and Windows 7 (and Vista for that matter).

2
On

That area is known as the Quick Access ToolBar as described here: http://msdn.microsoft.com/en-us/library/dd940502(v=vs.85).aspx

I'm not sure on the specifics in regards to the Ribbon control library that you referenced, but we are using one from Actipro and it works great and both xp and win7 are supported.