Skip to main content

TcxEditStyleController.StyleFocused Property

Defines style settings applied to the currently focused editor.

Declaration

property StyleFocused: TcxEditStyle read; write;

Property Value

Type Description
TcxEditStyle

Stores editor state style settings.

Remarks

The Style property defines the base appearance for all editor states. You can use the StyleFocused property to define different appearance attributes for any editor when it accepts focus.

Focused State Style Settings

For instance, you can use StyleFocused.Font, StyleFocused.TextColor, and StyleFocused.TextStyle to customize text appearance for an editor when it has focus. The StyleFocused.LookAndFeel property allows you to apply a different skin to the focused editor.

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

Individual Editor Style Settings

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

See Also