I have a custom WindowChrome style for my WPF app (ripped from here: http://www.bdevuyst.com/wpf-custom-title-bar-and-taskbar/).
Code here:
Small addition to the correct answer. If you have something like:
And your buttons do not react to clicks - just REMOVE "shell:"
This will make them work