Xceed DataGrid for Silverlight Documentation
ReadOnly Property (DataGridControl)


Gets or sets a value indicating of a grid is read-only.
Syntax
'Declaration
 
Public Property ReadOnly As Boolean
'Usage
 
Dim instance As DataGridControl
Dim value As Boolean
 
instance.ReadOnly = value
 
value = instance.ReadOnly
public bool ReadOnly {get; set;}

Property Value

true if a grid is read-only; false otherwise. By default, false.
Remarks

The CellEditorDisplayConditions, EditTriggers, and ReadOnly properties are defined on the DataGridControl, Column, and Row classes and, unlike other properties, can inherit their values from their parent element hierarchy. With the exception of the properties defined on the DataGridControl class, all three properties are defined as "nullable" properties, where a a null reference (Nothing in Visual Basic) value indicates that its value is inherited from its parent element.

All three properties are defined as read-only on both the Row and Cell classes.

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataGridControl Class
DataGridControl Members

Send Feedback