TabItem
MyControl ctrl = new MyControl(); this.TabItem.LayoutRoot.Children.Add(ctrl);
UserControl1 obj = new UserControl1(); // UserControl1 is a created User control. this.tbgrid1.Children.Add(obj); // here tbgrid1 is the name of Grid of TabItem.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)