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.v22.2.dll

NuGet Package: DevExpress.Web

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.

See Also