Skip to main content
All docs
V25.1
  • TcxContainerStyle.ReadOnly Property

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

    Declaration

    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