Skip to main content

TcxContainerStyle.RestoreDefaults Method

Restores default style settings.

Declaration

procedure RestoreDefaults; virtual;

Remarks

A RestoreDefaults procedure call removes all style modification flags from the AssignedValues property value and restores default values of the following properties:

BorderColor
Specifies border color.
BorderStyle
Specifies the border style for the affected control.
Color
Specifies background color.
Edges
Specifies a set of visible borders of the affected control.
Font
Provides access to font settings applied to the affected control.
HotTrack
Specifies if a child style for the hot-tracked state is enabled.
ReadOnly
Specifies if a child style for the read-only control state is enabled.
Shadow
Specifies if the affected control displays a shadow effect.
TextColor
Specifies the font color in the affected control.
TextStyle
Specifies a set of font attributes applied to text in the affected control.
TransparentBorder
Specifies if the affected control‘s border is transparent.

Note

The RestoreDefault procedure has no effect on the LookAndFeel property. Call the LookAndFeel.Reset procedure instead.

See Also