XtraTabControl() Constructor

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public XtraTabControl()
Public Sub New

Remarks

Use this consructor to create a new XtraTabControl at runtime.

Examples

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