wpf怎样动态绑定TabControl的多个TabItem
展开全部
private void button_Click(object sender, RoutedEventArgs e)
{
TabControlItem tci=new TabControlItem();
tci.Header="Column Test";
tabControl1.Items.Add(tci);
}
{
TabControlItem tci=new TabControlItem();
tci.Header="Column Test";
tabControl1.Items.Add(tci);
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询