Back to Devexpress

TcxCustomEdit.StyleDisabled Property

vcl-cxedit-dot-tcxcustomedit-1a45493e.md

latest2.2 KB
Original Source

TcxCustomEdit.StyleDisabled Property

Defines style settings applied to the editor when it is disabled.

Declaration

delphi
property StyleDisabled: 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 StyleDisabled property to define different appearance attributes for the editor when it is disabled (the Enabled property is set to False).

Disabled State Style Settings

For instance, you can use StyleDisabled.Font, StyleDisabled.TextColor, and StyleDisabled.TextStyle to customize text appearance for the editor when it is disabled. The StyleDisabled.LookAndFeel property allows you to apply a different skin to the disabled editor.

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

Tip

To apply the same style settings to multiple disabled 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.StyleFocused Property

TcxCustomEdit.StyleHot Property

TcxCustomEdit.StyleReadOnly Property

TcxCustomEdit.Styles Property

TcxCustomEdit Class

TcxCustomEdit Members

cxEdit Unit