Back to Devexpress

DXTabControl() Constructor

wpf-devexpress-dot-xpf-dot-core-dot-dxtabcontrol-dot-ctor-0c449d63.md

latest1.9 KB
Original Source

DXTabControl() Constructor

Initializes a new instance of the DXTabControl class.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public DXTabControl()
vb
Public Sub New

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

DXTabItem

Items

ItemsSource

ItemTemplate

DXTabControl Class

DXTabControl Members

DevExpress.Xpf.Core Namespace