Skip to main content

DXTabControl.SelectedItemContent Property

Gets the content of the selected tab item. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

#Declaration

public object SelectedItemContent { get; protected set; }

#Property Value

Type Description
Object

An object that specifies the content of the selected tab item.

#Remarks

If the DXTabControl.Items collection contains DXTabItem objects, the SelectedItemContent property returns the selected tab item's DXTabItem.Content property value. Otherwise, it returns the corresponding data item.

A tab item can be selected by its index using the DXTabControl.SelectedIndex property. You can also select a tab item by assigning it to the DXTabControl.SelectedTabItem property.

To define a template used to represent the selected item's content, use the DXTabControl.SelectedItemContentTemplate property.

See Also