How to Stretch WPF Tab Item Headers to Parent Control Width

后端 未结 11 1963
花落未央
花落未央 2020-11-29 23:17

Is there a way in XAML to cause the tab item headers to stretch across the width of the tab control?

For example, I have three tabs: red, blue and green. If I have a

11条回答
  •  半阙折子戏
    2020-11-29 23:34

    I don't know if it will work for tabs, but whenever I've needed to stretch anything to fill a container I've used a ViewBox. Is that the kind of thing you're looking for?

提交回复
热议问题