BCGControlBar Library for .NET
ReadOnly Property (GridColumn)




Gets or sets a value that indicates whether a column is read only.
Syntax
'Declaration
 
Public Overridable Property ReadOnly As Boolean
'Usage
 
Dim instance As GridColumn
Dim value As Boolean
 
instance.ReadOnly = value
 
value = instance.ReadOnly
public virtual bool ReadOnly {get; set;}
public: __property virtual bool get_ReadOnly();
public: __property virtual void set_ReadOnly( 
   bool value
);
public:
virtual property bool ReadOnly {
   bool get();
   void set (    bool value);
}
Remarks
The effect of ReadOnly property is cumulative, e.g. the library determines whether a particular cell can be edited by examining ReadOnly property in GridDatItem, GridColumn, GridDataRow, and considers the cell as read-only if at least one of the properties is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridColumn Class
GridColumn Members

Send Feedback