Skip to main content
A newer version of this page is available. .

XtraTabControl() Constructor

Initializes a new instance of the XtraTabControl class with default settings.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public XtraTabControl()

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