In WPF, the header is part of the non-client area, so you cannot handle events on it. You might be able to do this with Win32 interceptors. You can also create a custom chrome window and add a custom title bar to handle events on it yourself.
source share