Back to Devexpress

TcxCustomEdit.StyleFocused Property

vcl-cxedit-dot-tcxcustomedit-fff12816.md

latest1.9 KB
Original Source

TcxCustomEdit.StyleFocused Property

Defines style settings applied to the editor when it has focus.

Declaration

delphi
property StyleFocused: TcxEditStyle read; write;

Property Value

TypeDescription
TcxEditStyle

Stores editor state style settings.

|

Remarks

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

Focused State Style Settings

For instance, you can use StyleFocused.Font, StyleFocused.TextColor, and StyleFocused.TextStyle to customize text appearance for the 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.

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

TcxCustomEdit.StyleDisabled Property

TcxCustomEdit.StyleHot Property

TcxCustomEdit.StyleReadOnly Property

TcxCustomEdit.Styles Property

TcxCustomEdit Class

TcxCustomEdit Members

cxEdit Unit