Skip to main content

TcxDefaultEditStyleController.Style Property

Specifies the default style settings for the base (normal) state of all editors in an application.

Declaration

property Style: TcxEditStyle read; write;

Property Value

Type Description
TcxEditStyle

Stores editor state style settings.

Remarks

Use the Style property to define default editor appearance settings in the base (normal) state. StyleDisabled, StyleFocused, StyleHot, and StyleReadOnly properties allow you to apply different default 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 default 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 editors. The Style.LookAndFeel property allows you to specify the default skin for all editors.

Refer to the TcxEditStyle class description for detailed information on all available options.

Individual Editor Style Settings

To customize normal state appearance of an individual editor, use its Style property. All appearance settings accessible through the Style property of an individual editor have higher priority than corresponding settings accessible through the style controller component’s Style property.

See Also