public TabItem TabItemAdd(TabControl CHead, TabItem Example, String Header="New Tab" ) { TabItem item = new TabItem(); item.Content = Example.Content; // <-- This line doesn't work and is the problem item.Header = Header; CHead.Items.Add(item); return item; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)