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.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | 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.
Related GitHub Examples
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.