WPF includes the title bar height in the total window height instead of using only the client content area height.
- Is there a way to disable this behaviour?
- If not, how can I get the height of a tool window title bar?
I'm aware of the SystemParameters.CaptionHeight property and the SystemParameters.WindowCaptionHeight property but they both return the height of a regular window title bar. This is not the correct value for a tool window because the title bar is smaller for this type of window. I need something like SystemParameters.ToolWindowCaptionHeight
Thanks.