Back to Devexpress

RowProperties.ReadOnly Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-rowproperties-366c962e.md

latest2.9 KB
Original Source

RowProperties.ReadOnly Property

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

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
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

IsSourceReadOnly

AllowEdit

EditorRow

ReadOnly

Rows

ReadOnlyRow

RowProperties Class

RowProperties Members

DevExpress.XtraVerticalGrid.Rows Namespace