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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8