Visual Basic (Declaration) | |
---|---|
Public Property Static As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EditBaseCellType Dim value As Boolean instance.Static = value value = instance.Static |
C# | |
---|---|
public bool Static {get; set;} |
Property Value
Boolean: true if cell is static (not allowing edit mode); false otherwiseWhen set to true, this property prohibits the user from entering edit mode when clicking on the cell. It forces the cell to be a label cell because it displays whatever text is set for this cell but does not allow the user to edit it.
Compare this with the Editable property (inherited), which turns on or off the ability to make changes in edit mode, but still allows edit mode to be entered.
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