Hide the TabControl header

前端 未结 7 1904
自闭症患者
自闭症患者 2021-02-02 07:21

What\'s the programmatic way (ie not using styles as in this question, but using code) to hide the TabControl header? I\'ll be glad for a snippet.

7条回答
  •  北恋
    北恋 (楼主)
    2021-02-02 07:43

    Actually, it's very straight forward to hide the tab strip. You just set each TabItems Visibility to Collapsed. You still see the tab content,...just not the tab header itself.

提交回复
热议问题