5年了,都没人来回答, 技术搜索方面百毒果然不行
先加入Panel, 然后依次加入你要的控件。
StackPanel panel = new StackPanel();
Button button=new Button(){Content="button1"};
TextBlock textblock= new TextBlock(){Text="TextBlock1"};
panel.Children.Add(button);
panel.Children.Add(textblock);
TabItem item= tabcontrol.Items[0] as TabItem;
item.Content = panel;
https://social.msdn.microsoft.com/Forums/zh-CN/f4d97e7c-2bba-49eb-9367-a96547b6707e/tabitem?forum=wpfzhchs