Spread Windows Forms 6.0 Product Documentation
Static Property
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > EditBaseCellType Class : Static Property


Glossary Item Box

Gets or sets whether the cell is static, which prohibits user interaction.

Syntax

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.