Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/267.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何在WPF中更改tabcontrol中的选项卡项位置_C#_Wpf_Tabcontrol - Fatal编程技术网

C# 如何在WPF中更改tabcontrol中的选项卡项位置

C# 如何在WPF中更改tabcontrol中的选项卡项位置,c#,wpf,tabcontrol,C#,Wpf,Tabcontrol,我想更改我的子选项卡控件项的位置,如下所示 ------------------------------------------------------- | | | TabItem2 TabeItem3 | | TabItem1 -----------------------------------|

我想更改我的子选项卡控件项的位置,如下所示

 -------------------------------------------------------
 |                                                     |
 |                  TabItem2      TabeItem3            |
 |  TabItem1        -----------------------------------|
 |                  TabItem2.1      TabItem2.2         |
 |-----------------------------------------------------|
我有两个tabcontrols,第一个包含TabItem1、TabItem2、TabItem3,第二个包含TabItem2.1和TabItem2.2 我想要的是移动第二个tabcontrol位置


救命啊

为了澄清你的问题,你想要这种行为吗

3(比如)个选项卡,但其中两个“共享”子选项卡控件:


什么是TabItem 2.1和2.2,这些不同的选项卡是一起的还是它们的内容?单击原始TabItem中的tabitem2A选项卡控件时,这是另一个tabcontrol?