Skip to main content

TcxEditStyleController Class

A style controller that defines state appearance settings common to multiple editors.

Declaration

TcxEditStyleController = class(
    TcxStyleController
)

Remarks

A style controller is a non-visual component that stores appearance settings of individual states (normal, focused, read-only, etc.) for multiple editors. To associate a style controller with an editor, assign a TcxEditStyleController object to the editor’s Style.StyleController property.

Main API Members

The list below outlines key members of the TcxEditStyleController class that allow you to customize editor appearance.

Style | StyleDisabled | StyleFocused | StyleHot | StyleReadOnly
Allow you to define individual appearance settings for different states of all editors associated with the style controller. Corresponding appearance settings of associated editors have higher priority than these style controller settings.
Styles
Provides access to individual styles applied to editors in different states.
RestoreStyles
Restores all default style settings for all editor states.

Direct TcxEditStyleController Class References

The following public API members reference a TcxEditStyleController object:

TcxCustomEditStyle.ActiveStyleController
Identifies the style controller which manages the appearance of an editor.
TcxCustomEditStyle.StyleController
Identifies the style controller for the current TcxCustomEditStyle object.
See Also