DXTabControl.SelectedItemContentTemplate Property
Gets a template, used to represent the content of the selected tab item. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Data |
A Data |
#Remarks
If the element of the Items collection, corresponding to the selected tab item, is not the DXTabItem type (e.g. a tab control is bound to a data source, or its Items collection has been manually filled with arbitrary items), the SelectedItemContentTemplate returns the ItemTemplate template. Otherwise, the tab item's DXTabItem.ContentTemplate template is returned.
A tab item can be selected by assigning its index to the DXTabControl.SelectedIndex property. You can also select a tab item by assigning it to the DXTabControl.SelectedItem property.
To define a template used to present the selected tab item's content, use the DXTabControl.SelectedItemContent property.