WPF Flexible TabControl Header
I want to have a TabControl with multiple TabItems . These TabItems each have a header text. These texts may vary a lot in length (like 5 chars long and 15 chars long). I want the TabControl to align the headers in one row only. All tab headers should use the same width, and when there is enough space available, i want them the to use all the space available, up to a MaxWidth , that is the same for all items. So if i want to use vMaxWidth` of 100 for 7 items, the tab header should be max 700 in width. If there is more space available, it should be ignored. If there is less space available, i