I am trying to create a TabItem header using a path to determine the shape of the header.
I am stuck in a problem that I cannot solve:
If I set the path's Stretch property to "None", it will not scale if the text in the TabItem header is long.
If I set the pathโs Stretch property to Fill, it will stretch so much that each TabItem will be the same width as TabControl, which means only one very wide TabItem in a row ...
Do you know a way to stretch the path to the layout (depending on the contents of the TabItemHeader), but no more?
I would be very pleased if someone can help me with this ... it was unpleasant when I was looking for a solution.
Thank:-)
source
share