RowProperties.ReadOnly Property

Gets or sets whether the current editor row is read only.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[DefaultValue(null)]
[XtraSerializableProperty]
public virtual bool? ReadOnly { get; set; }
<DefaultValue(Nothing)>
<XtraSerializableProperty>
Public Overridable Property ReadOnly As Boolean?

Property Value

Type Default Description
Nullable<Boolean>

null

true, if the current editor row is read only ; otherwise, false.

Remarks

The ReadOnly property specifies whether the editor row is editable. If the ReadOnly property is set to null, the behavior depends on the RowProperties.IsSourceReadOnly property value. Use the ReadOnly property to specify whether the current EditorRow is read only.

If the RowProperties.IsSourceReadOnly property returns true, an end-user cannot change a row's value, even if the ReadOnly property is set to false.

See Also