Back to Devexpress

GridViewDataColumn.ReadOnly Property

aspnet-devexpress-dot-web-dot-gridviewdatacolumn-68af984b.md

latest1.3 KB
Original Source

GridViewDataColumn.ReadOnly Property

Gets or sets whether end-users are allowed to edit the column’s cell values.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if end-users are not allowed to modify the column’s cell values; otherwise, false.

|

Remarks

If the ReadOnly property is set to true, the column’s cell values cannot be changed by end-users.

See Also

Grid View

GridViewDataColumn Class

GridViewDataColumn Members

DevExpress.Web Namespace