Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxContainerStyle.RestoreDefaults Method

In This Article

Restores default style settings.

#Declaration

Delphi
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