FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : CellType Property |
'Declaration Public Property CellType As ICellType
'Usage Dim instance As Cell Dim value As ICellType instance.CellType = value value = instance.CellType
public ICellType CellType {get; set;}
The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the cell type.
FarPoint.Web.Spread.Cell mycell; mycell = FpSpread1.Cells[0, 0]; mycell.BackColor = Color.RoyalBlue; mycell.ForeColor = Color.White; mycell.Border = new FarPoint.Web.Spread.Border(System.Web.UI.WebControls.BorderStyle.Double, Color.DarkBlue, 2); mycell.CellType = new FarPoint.Web.Spread.CheckBoxCellType();
Dim mycell As FarPoint.Web.Spread.Cell mycell = FpSpread1.Cells(0, 0) mycell.BackColor = Color.RoyalBlue mycell.ForeColor = Color.White mycell.Border = New FarPoint.Web.Spread.Border(System.Web.UI.WebControls.BorderStyle.Double, Color.DarkBlue, 2) mycell.CellType = New FarPoint.Web.Spread.CheckBoxCellType()
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
Cell Class
Cell Members
ICellType Interface
StyleName Property
NamedStyle Class