When I set the height of the custom task pane (which is in points), this height includes the titlebar or not? Microsoft does not tell anything about it, I doubt if the height refers only to the content, I mean, the user control, or also it takes into account the custom task pane title bar. Could someone confirm this, please?
For example, if I set the height to 80 points, does it includes the titlebar? or not (only the user control height)?
Yes, the Size
(Height
or Width
) of custom task panes includes the title bar. This is for the whole task pane.
If you need to know the client area you may check out the Size
property of the user control placed there.