Skip to main content

TcxCustomEdit.Style Property

Defines style settings applied to the editor in the base (normal) state.

Declaration

property Style: TcxEditStyle read; write;

Property Value

Type Description
TcxEditStyle

Stores editor state style settings.

Remarks

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.

Base (Normal State) Style Settings

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