Skip to main content
All docs
V23.2

TcxEditStyleController.StyleReadOnly Property

Defines style settings applied to editors in read-only mode.

Declaration

property StyleReadOnly: 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. If the Style.ReadOnly property is set to True, you can use the StyleReadOnly property to define different appearance attributes for all editors in read-only mode.

Read-Only State Style Settings

For instance, you can use StyleReadOnly.Font, StyleReadOnly.TextColor, and StyleReadOnly.TextStyle to customize text appearance for all editors in read-only mode. The StyleReadOnly.LookAndFeel property allows you to apply a different skin to all editors in this mode.

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

Individual Editor Style Settings

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

See Also