Tab
A newer version of this page is available. Switch to the current version.

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

Declaration

[DefaultValue(false)]
public virtual bool ReadOnly { get; set; }
<DefaultValue(False)>
Public Overridable Property ReadOnly As Boolean

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