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

TcxStyleController Class

Represents the base class for objects managing style attributes common to several components.

#Declaration

Delphi
TcxStyleController = class(
    TcxScalableComponent
)

#Remarks

A style controller manages style properties common to several components. When a style is assigned a style controller, it is automatically registered as a listener of this style controller. Thus, when you change properties via a style controller, all style objects will receive corresponding notifications and repaint their components as necessary. Use the Styles property to access a specific style and call the RestoreStyles method to restore the default values to all the style attributes of every style object.

The TcxStyleController is the base class for TcxEditStyleController which allows you to define style properties common to several editors.

See Also