FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : Cells Property |
This property is available at run time only.
Use the Cells, Columns, Rows, and Sheets properties to work with individual cells, columns, rows, or sheets by specifying indices, then setting properties for the specified object.
FpSpread1.Sheets.Count=3; FpSpread1.ActiveSheetViewIndex=1; FpSpread1.ActiveSheetView.AlternatingRows[0].BackColor=Color.Yellow; FpSpread1.ActiveSheetView.AlternatingRows[1].BackColor=Color.YellowGreen; FpSpread1.ActiveSheetView.Cells[0,0].CellType=newFarPoint.Web.Spread.ButtonCellType(); FpSpread1.ActiveSheetView.Cells[1,0].CellType=newFarPoint.Web.Spread.ButtonCellType(); FpSpread1.ActiveSheetView.Cells[2,0].CellType=newFarPoint.Web.Spread.ButtonCellType();
FpSpread1.Sheets.Count=3 FpSpread1.ActiveSheetViewIndex=1 FpSpread1.ActiveSheetView.AlternatingRows(0).BackColor=Color.Yellow FpSpread1.ActiveSheetView.AlternatingRows(1).BackColor=Color.YellowGreen FpSpread1.ActiveSheetView.Cells(0,0).CellType=NewFarPoint.Web.Spread.ButtonCellType() FpSpread1.ActiveSheetView.Cells(1,0).CellType=NewFarPoint.Web.Spread.ButtonCellType() FpSpread1.ActiveSheetView.Cells(2,0).CellType=NewFarPoint.Web.Spread.ButtonCellType()
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional