Gets or sets a string array of values for the combo box list.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Overridable Property Values As String()  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As ComboBoxCellType
Dim value() As String
 
instance.Values = value
 
value = instance.Values  | 
 
| C# |   | 
|---|
public virtual string[] Values {get; set;} | 
 
            
            
            Property Value
String array containing the values for the corresponding list items
 
            
			
			
            Remarks
            
            
Example
This example creates a ComboBoxCellType object and makes all the cells in the first column combo boxes. It sets the text in the cell using the values.
             
| C# |  Copy Code | 
|---|
string[]cbstr;
string[]strval;
cbstr=newString[]{"One","Two","Three"};
strval=newString[]{"1","2","3"};
FarPoint.Web.Spread.ComboBoxCellTypecb=newFarPoint.Web.Spread.ComboBoxCellType();
cb.Items=cbstr;
cb.Values=strval;
FpSpread1.ActiveSheetView.Columns[0].CellType=cb;
FpSpread1.ActiveSheetView.DataModel.SetValue(0,0,"1");
TextBox1.Text=cb.EditorClientScriptUrl; | 
 
| Visual Basic |  Copy Code | 
|---|
DimcbstrAsString()
cbstr=NewString(){"One","Two","Three"}
DimstrvalAsString()
strval=NewString(){"1","2","3"}
DimcbAsNewFarPoint.Web.Spread.ComboBoxCellType()
cb.Items=cbstr
cb.Values=strval
FpSpread1.ActiveSheetView.Columns(0).CellType=cb
FpSpread1.ActiveSheetView.DataModel.SetValue(0,0,"1")
TextBox1.Text=cb.EditorClientScriptUrl | 
 
 
            
            
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