Spread Windows Forms 9.0 Product Documentation
Static Property (EditBaseCellType)


Gets or sets whether the cell is static, which prohibits user interaction.
Syntax
'Declaration
 
Public Property Static As Boolean
'Usage
 
Dim instance As EditBaseCellType
Dim value As Boolean
 
instance.Static = value
 
value = instance.Static
public bool Static {get; set;}

Property Value

Boolean: true if cell is static (not allowing edit mode); false otherwise
Remarks

When 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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

EditBaseCellType Class
EditBaseCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.