Wpf 分层禁忌控制

Wpf 分层禁忌控制,wpf,tabcontrol,tabitem,hierarchicaldatatemplate,Wpf,Tabcontrol,Tabitem,Hierarchicaldatatemplate,我将实现一种“分层TabControl”,其中有作为根的TabItems及其所有相关子项(始终显示为TabItem) 我必须意识到使用WPF,因此我尝试使用HierarchycalDataTemplate编写TabItem的ContentTemplate,但结果如下:( 我想得到这样的东西: 你们谁能给我一些建议吗

我将实现一种“分层TabControl”,其中有作为根的TabItems及其所有相关子项(始终显示为TabItem)

我必须意识到使用WPF,因此我尝试使用HierarchycalDataTemplate编写TabItem的ContentTemplate,但结果如下:(

我想得到这样的东西:

你们谁能给我一些建议吗