PowerTools SPREAD for ASP.NET 8.0J
Values プロパティ (RadioButtonListCellType)

ラジオボタンオプションの値の文字列配列を取得または設定します。
構文
'Declaration
 
Public Overridable Property Values As String()
public virtual string[] Values {get; set;}

プロパティ値

対応するオプションボタンの値を含む文字列配列
解説
このプロパティは実行時のみ使用できます。
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")
参照

RadioButtonListCellType クラス
RadioButtonListCellType メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.