Skip to main content

TcxTab.Selected Property

Specifies whether the tab is selected.

Declaration

property Selected: Boolean read; write;

Property Value

Type
Boolean

Remarks

Use the Selected property to specify whether the tab is selected. Set this property to True to select the tab. Setting this property value to False deselects the tab.

This property returns False for the main tabs. Setting the Selected property to True within a tab control which already has selected tab(s) automatically sets the tab control’s MultiSelect property to True.

Note

Setting the Selected property to True has no effect for the main tabs or when neither the Buttons nor Flat Buttons painting style is applied to a tab control.

See Also