FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ListBoxCellType Class : Values Property |
'Declaration Public Overridable Property Values As String()
'Usage Dim instance As ListBoxCellType Dim value() As String instance.Values = value value = instance.Values
public virtual string[] Values {get; set;}
string[]lbstr; lbstr=new String[]{"Carbon","Oxygen","Hydrogen"}; string[]strval; strval=new String[]{"1","2","3"}; FarPoint.Web.Spread.ListBoxCellType lbcell=new FarPoint.Web.Spread.ListBoxCellType(); lbcell.SelectedBackColor=Color.Yellow; lbcell.SelectedForeColor=Color.DarkBlue; lbcell.Items=lbstr; lbcell.Values=strval; FpSpread1.ActiveSheetView.Cells[0,0].CellType=lbcell; FpSpread1.ActiveSheetView.SetValue(0,0,"3"); FpSpread1.ActiveSheetView.Rows[0].Height=140;
Dim lbstr As String() lbstr=New String(){"Carbon","Oxygen","Hydrogen"} Dim strval As String() strval=New String(){"1","2","3"} Dim lbcell As New FarPoint.Web.Spread.ListBoxCellType(lbstr,strval) lbcell.SelectedBackColor=Color.Yellow lbcell.SelectedForeColor=Color.DarkBlue lbcell.Items=lbstr lbcell.Values=strval FpSpread1.ActiveSheetView.Cells(0,0).CellType=lbcell FpSpread1.ActiveSheetView.SetValue(0,0,"3") FpSpread1.ActiveSheetView.Rows(0).Height=140
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6