The following sample code demonstrates how to create an XtraTabControl at runtime.
DevExpress.XtraTab.XtraTabControl tabCtrl = new DevExpress.XtraTab.XtraTabControl();
this.Controls.Add(tabCtrl);
tabCtrl.TabPages.Add("Page 1");
tabCtrl.TabPages.Add("Page 2");
tabCtrl.Dock = DockStyle.Fill;
Dim tabCtrl As DevExpress.XtraTab.XtraTabControl = New DevExpress.XtraTab.XtraTabControl()
me.Controls.Add(tabCtrl)
tabCtrl.TabPages.Add("Page 1")
tabCtrl.TabPages.Add("Page 2")
tabCtrl.Dock = DockStyle.Fill