Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXTabControl() Constructor

In This Article

Initializes a new instance of the DXTabControl class.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.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