Gets or sets the default cell type for cells in this column.
Syntax
Visual Basic (Declaration) | |
---|
Public Property CellType As ICellType |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Column
Dim value As ICellType
instance.CellType = value
value = instance.CellType |
Property Value
ICellType object that contains the cell type for cells in this column
Example
This example creates a Column object and a ButtonCellType object for the active sheet. The ButtonCellType object is assigned to the CellType property of the Column object, such that all the cells of the first column of the active sheet are button cells.
C# | Copy Code |
---|
FarPoint.Web.Spread.Columnmycol;
FarPoint.Web.Spread.ButtonCellTypemycell=newFarPoint.Web.Spread.ButtonCellType();
mycol=FpSpread1.ActiveSheetView.Columns[0];
mycol.CellType=mycell; |
Visual Basic | Copy Code |
---|
DimmycolAsFarPoint.Web.Spread.Column
DimmycellAsNewFarPoint.Web.Spread.ButtonCellType()
mycol=FpSpread1.ActiveSheetView.Columns(0)
mycol.CellType=mycell |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also