Skip to main content

DXTabControl() Constructor

Initializes a new instance of the DXTabControl class.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public DXTabControl()

Remarks

Use this constructor to create a new DXTabControl at runtime. After a new tab control has been created, it does not contain any tab items. You should manually create DXTabItem objects and add them to the tab control’s Items collection or bind the tab control to a data source using the ItemsSource property. In the second instance, make sure you have specified the templates used to present headers and content of tab items. To do this, use the DXTabItem.HeaderTemplate, DXTabItem.ContentTemplate and ItemTemplate properties, respectively.

See Also