FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ListBoxCellType Class > ListBoxCellType Constructor : ListBoxCellType Constructor() |
'Declaration Public Function New()
'Usage Dim instance As New ListBoxCellType()
public ListBoxCellType()
FarPoint.Web.Spread.ListBoxCellType lbcell = new FarPoint.Web.Spread.ListBoxCellType(); lbcell.Items = new String[] {"Carbon", "Oxygen", "Hydrogen"}; lbcell.SelectedBackColor = Color.Yellow; lbcell.SelectedForeColor = Color.DarkBlue; FpSpread1.ActiveSheetView.Cells[0, 0].CellType = lbcell; FpSpread1.ActiveSheetView.Rows[0].Height = 140;
Dim lbcell As New FarPoint.Web.Spread.ListBoxCellType() lbcell.Items = New String() {"Carbon", "Oxygen", "Hydrogen"} lbcell.SelectedBackColor = Color.Yellow lbcell.SelectedForeColor = Color.DarkBlue FpSpread1.ActiveSheetView.Cells(0, 0).CellType = lbcell FpSpread1.ActiveSheetView.Rows(0).Height = 140
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional