Skip to main content

TcxEditStyleController.Styles Property

Provides access to all styles that define editor appearance in different states.

Declaration

property Styles[AState: TcxContainerStateItem]: TcxCustomEditStyle read; write;

Property Value

Type Description
TcxCustomEditStyle

Stores editor state style settings.

Remarks

Every style accessible through the Styles property corresponds to different editor states. Pass the required state as the AState parameter to access corresponding style settings:

AState Value Style Property[1] Description
csNormal Style Stores base editor appearance settings.
csActive StyleFocused Stores editor appearance settings when the editor has focus.
csDisabled StyleDisabled Stores appearance settings of the editor when it is disabled.
csHotTrack StyleHot Stores appearance settings of the editor when it is hot-tracked if the Style.HotTrack property is set to True.
csReadOnly StyleReadOnly Stores appearance settings of the editor in read-only mode if the Style.ReadOnly property is set to True.

Refer to the TcxEditStyle class description for detailed information on all available editor appearance settings.

Individual Editor Style Settings

To access and customize all appearance settings of an individual editor, use its Styles property. All appearance settings accessible through the Styles property of an individual editor have higher priority than corresponding settings accessible through the style controller’s Styles property.

Footnotes
  1. This column lists corresponding editor style properties declared in the TcxEditStyleController class.

See Also