GrapeCity MultiRow Windows Forms Documentation
ReadOnly Property (Cell)


Gets or sets a value that indicates whether the cell's data can be edited.
Syntax
<GcSerializationInternalImplAttribute(UseShadowProperty=True, 
   ShadowPropertyName="InternalReadOnly", 
   GetMethodName="", 
   SetMethodName="", 
   DescriptorTypeName="GrapeCity.Framework.Xml.Serialization.ShadowSerializablePropertyDescritpor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<SRDescriptionAttribute("Indicates whether the user can edit the cell.")>
<SRCategoryAttribute("Behavior")>
Public Property ReadOnly As Boolean
Dim instance As Cell
Dim value As Boolean
 
instance.ReadOnly = value
 
value = instance.ReadOnly
[GcSerializationInternalImpl(UseShadowProperty=true, 
   ShadowPropertyName="InternalReadOnly", 
   GetMethodName="", 
   SetMethodName="", 
   DescriptorTypeName="GrapeCity.Framework.Xml.Serialization.ShadowSerializablePropertyDescritpor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[SRDescription("Indicates whether the user can edit the cell.")]
[SRCategory("Behavior")]
public bool ReadOnly {get; set;}

Property Value

true if the cell's data cannot be edited; otherwise, false. The default value is false.
Remarks

Returns the inherited state of the cell that has taken the state of the owner row into account.

The default value of this property is false for cells such as TextBoxCell, ComboBoxCell, NumericUpDownCell, and so on, which are editable cells. The default value of this property is true for cells such as LabelCell, LinkLabelCell, ProgressBarCell, and so on, which are non-editable cells.

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

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.