vcl-cxcontainer-f10ee81a.md
The base class for control style setting classes.
TcxContainerStyle = class(
TcxInterfacedPersistent,
IdxSkinSupport
)
Style settings define base control appearance as well as control appearance in different states, such as read-only, hot-tracked, disabled, etc.
The list below outlines key members of the TcxContainerStyle class that allow you to customize control appearance.
Color | BorderColor | TransparentBorderSpecify background and border colors.Edges | BorderStyleAllow you to hide or display individual borders (left, right, top, and bottom) and switch between available line styles.Font | TextColor | TextStyleAllow you to customize text appearance settings.LookAndFeelProvide access to look & feel settings. You can use this property to apply a skin to a control and/or its different states.ShadowSpecifies if the shadow effect is enabled.
BaseStyleProvides access to the base style used as the source of default settings in the current style. This property returns nil (in Delphi) or nullptr (in C++Builder) if the current style is a base style.HotTrack | ReadOnly
Specify if corresponding child styles are enabled for hot-tracked and read-only control states.
Note
HotTrack and ReadOnly properties are in effect only if the current style defines base control appearance settings (that is, the State property returns cxNormal).
StateReturns the control state associated with the current style.
ActiveStyleController | StyleController
Provide access to the parent style controller.
Tip
To apply the same style settings to multiple editors, you can use a TcxEditStyleController component. If you need to apply the same style settings to all editors in your application, you can use a TcxDefaultEditStyleController component.
AssignedValuesAllows you to track the state of individual style settings and reset them.BeginUpdate | EndUpdateAllow you to avoid excessive redraw operations during batch style setting changes.RestoreDefaultsRestores default appearance settings.
Do not use the TcxContainerStyle class directly. Use the TcxEditStyle class instead.
TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxContainerStyle
See Also