XtraTabControl() Constructor
In This Article
Initializes a new instance of the XtraTabControl class with default settings.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Remarks
Use this consructor to create a new XtraTabControl at runtime.
#Example
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;
See Also