Spread for ASP.NET 9.0 Product Documentation
CheckBoxCellType Constructor()
Example 


Creates a new check box cell.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New CheckBoxCellType()
public CheckBoxCellType()
Example
This example creates a spreadsheet with 10 columns and 20 rows on the active sheet. It then creates a StyleInfo object and a CheckBox cell type for that object. The first column is then populated with the check boxes.
FarPoint.Web.Spread.StyleInfo style=new FarPoint.Web.Spread.StyleInfo();
FpSpread1.ActiveSheetView.ColumnCount=10;
FpSpread1.ActiveSheetView.PageSize=20;
FpSpread1.ActiveSheetView.RowCount=20;
style.CellType=new FarPoint.Web.Spread.CheckBoxCellType();
FpSpread1.ActiveSheetView.SetStyleInfo(-1,0,style);
Dim style As New FarPoint.Web.Spread.StyleInfo()
FpSpread1.ActiveSheetView.ColumnCount=10
FpSpread1.ActiveSheetView.PageSize=20
FpSpread1.ActiveSheetView.RowCount=20
style.CellType=New FarPoint.Web.Spread.CheckBoxCellType()
FpSpread1.ActiveSheetView.SetStyleInfo(-1,0,style)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

CheckBoxCellType Class
CheckBoxCellType Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.