Tab Item and Tab Control Border Style

前端 未结 4 1774
庸人自扰
庸人自扰 2021-01-01 16:23

How do I style the Tab Control Border so that the selected Tab Item does not have a line underneath it?

\"WPF

4条回答
  •  盖世英雄少女心
    2021-01-01 16:48

    In the past I've accomplished this by making the TabItem extend a little further down then it's allocated, so its actually drawn on top of the border element and hides it

    I can't remember how I did it exactly, but I think it was with a negative margin on the bottom of the TabItem

提交回复
热议问题