Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxContainerStyle.ReadOnly Property

Specifies if a child style for the read-only control state is enabled.

#Declaration

Delphi
property ReadOnly: Boolean read; write;

#Property Value

Type Description
Boolean

True if a read-only state style is in use; otherwise, False.

#Remarks

Set the ReadOnly property to True to enable appearance customization for the read-only state of the affected control.

Note

The ReadOnly property is in effect only if the current style defines base control appearance settings (that is, the State property returns csNormal).

#Style Setting Modification Flag

Any ReadOnly property value change adds the csvReadOnly flag to the AssignedValues property. To restore the default ReadOnly property value, remove the csvReadOnly flag.

#Default Value

The ReadOnly property’s default value is False.

See Also