Spread for ASP.NET 10 Product Documentation
Values Property (RadioButtonListCellType)
Example 


Gets or sets a string array of values for the radio button options.
Syntax
'Declaration
 
Public Overridable Property Values As String()
'Usage
 
Dim instance As RadioButtonListCellType
Dim value() As String
 
instance.Values = value
 
value = instance.Values
public virtual string[] Values {get; set;}

Property Value

String array containing the values for the corresponding option buttons
Remarks
This property is available at run time only.
Example
string[] rbstr;
string[] rbval;
rbstr = New String[] {"Ford", "Chevy", "Honda", "Chrysler"};
rbval = New String[] {"Tough", "Rock", "Dependable", "New"};
FarPoint.Web.Spread.RadioButtonListCellType rb = New FarPoint.Web.Spread.RadioButtonListCellType(rbstr);
rb.Values = rbval;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = rb;
FpSpread1.ActiveSheetView.SetValue(0, 0, "Tough");
Dim rbstr As String()
Dim rbval As String()
rbstr = New String() {"Ford", "Chevy", "Honda", "Chrysler"}
rbval = New String() {"Tough", "Rock", "Dependable", "New"}
Dim rb As New FarPoint.Web.Spread.RadioButtonListCellType(rbstr)
rb.Values = rbval
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = rb
FpSpread1.ActiveSheetView.SetValue(0, 0, "Tough")
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

RadioButtonListCellType Class
RadioButtonListCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.