TcxCustomEdit.StyleDisabled Property
Defines style settings applied to the editor when it is disabled.
Declaration
property StyleDisabled: TcxEditStyle read; write;
Property Value
Type | Description |
---|---|
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.