Skip to main content

RowProperties.ReadOnly Property

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

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

[DefaultValue(null)]
[XtraSerializableProperty]
public virtual bool? ReadOnly { get; set; }

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