Skip to main content
Tab

ASPxEditBase.ReadOnly Property

Gets or sets a value indicating whether an end-user can change the editor’s contents at runtime.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(false)]
public virtual bool ReadOnly { get; set; }

Property Value

Type Default Description
Boolean false

true, if an end-user cannot change the editor’s contents; otherwise, false.

Remarks

Use the ReadOnly property to specify whether the contents of an editor can be modified by an end-user at runtime. For example, setting the ReadOnly property of an ASPxTextBox editor to true, prevents the text displayed within that editor from being changed by an end-user.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ReadOnly property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also