Back to Devexpress

SpreadsheetControl.ReadOnly Property

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetcontrol-11775e66.md

latest1.3 KB
Original Source

SpreadsheetControl.ReadOnly Property

Gets or sets whether document modifications are prohibited.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if the document is in a read-only state; otherwise, false.

|

Remarks

When set to true , disables commands used to modify the document.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.XtraSpreadsheet Namespace