vcl-cxedit-dot-tcxcustomedit.md
Defines style settings applied to the editor in the base (normal) state.
property Style: TcxEditStyle read; write;
| Type | Description |
|---|---|
| TcxEditStyle |
Stores editor state style settings.
|
Use the Style property to customize editor appearance settings in the base (normal) state. StyleDisabled, StyleFocused, StyleHot, and StyleReadOnly properties allow you to apply different appearance settings to the editor in different states. The Styles property provides access to all editor styles.
The base editor style accessible through the Style property defines the editor appearance in all individual states whose styles (StyleDisabled, StyleFocused, StyleHot, and StyleReadOnly properties) are unspecified.
Note
StyleHot and StyleReadOnly properties are ignored if Style.HotTrack and Style.ReadOnly properties are set to False.
For instance, you can use Style.Font, Style.TextColor, and Style.TextStyle to customize text appearance for the editor. The Style.LookAndFeel property allows you to apply different skins and palettes to the editor.
Refer to the TcxEditStyle class description for detailed information on all available options.
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.
See Also