public object Value {get; set;}
'Declaration
Public Property Value As Object
プロパティ値
セルの値。既定値は null 参照 (Visual Basicでは
Nothing) です。
このサンプルは、セルに値を設定し Formula プロパティに2つのセルの値を合計する数式を設定します。
Cell acell, mycell, urcell;
acell = gcSpreadGrid1.Cells[0, 0];
mycell = gcSpreadGrid1.Cells[2, 2];
urcell = gcSpreadGrid1.Cells[2, 3];
mycell.Value = 10;
urcell.Value = 10;
acell.Formula = "SUM(C3, D3)";
Dim acell As Cell, mycell As Cell, urcell As Cell
acell = gcSpreadGrid1.Cells(0, 0)
mycell = gcSpreadGrid1.Cells(2, 2)
urcell = gcSpreadGrid1.Cells(2, 3)
mycell.Value = 10
urcell.Value = 10
acell.Formula = "SUM(C3, D3)"