Skip to main content

TcxCustomTabControlProperties.Style Property

Applies a painting style to a tab control.

Declaration

property Style: TcxPCStyleID read; write; default cxPCDefaultStyle;

Property Value

Type Default
TcxPCStyleID cxPCDefaultStyle

Remarks

Use this property to switch between the available painting styles:

Design-time value Runtime value Description
Default 0 Applies the style based on the LookAndFeel property setting. If the native style is in effect, the XP painting style is applied. Otherwise, the painting style that corresponds to one of the four built-in paint styles is applied: Flat, Office11, Tabs, or Ultra Flat painting style.
Tabs 1 As with the Default value, applies the style based on the LookAndFeel property setting. If the native style is in effect, the XP painting style is applied. Otherwise, the Tabs painting style is applied.
Buttons 2 Applies the Buttons painting style to the control.
FlatButtons 3 Applies the Flat Buttons painting style to the control.
ExtraFlat 5 Applies the Extra Flat painting style to the control.
UltraFlat 6 Applies the Ultra Flat painting style to the control.
Flat 7 Applies the Flat painting style to the control.
Office11 8 Applies the Office11 painting style to the control.
Slanted 9 Applies the Slanted painting style to the control.
OneNote 10 Applies the OneNote painting style to the control.
Skin 11 Applies the Skin painting style to the control.

Property values are described here without taking into account the LookAndFeel property. Please see the Applying Painting Styles topic for details on using the Style and LookAndFeel properties in conjunction with one another.

The default value of the Style property is specified by the cxPCDefaultStyle global constant, which is initialized with a 0.

See Also