GrapeCity.Xaml.SpreadSheet.Data Namespace > Cell Class : Formula Property |
'Declaration <DefaultValueAttribute()> Public Property Formula As String
[DefaultValue()] public string Formula {get; set;}
gcSpreadSheet1.Sheets[0].SetValue(0, 0, 1); gcSpreadSheet1.Sheets[0].SetValue(0, 1, 2); gcSpreadSheet1.Sheets[0].SetValue(1, 0, 10); gcSpreadSheet1.Sheets[0].Cells[1, 1].Formula = "sum(A1:C1)"; gcSpreadSheet1.Sheets[0].SetFormula(3, 1, "A1+A2");
gcSpreadSheet1.Sheets(0).SetValue(0, 0, 1) gcSpreadSheet1.Sheets(0).SetValue(0, 1, 2) gcSpreadSheet1.Sheets(0).SetValue(1, 0, 10) gcSpreadSheet1.Sheets(0).Cells(1, 1).Formula = "sum(A1:C1)" gcSpreadSheet1.Sheets(0).SetFormula(3, 1, "A1+A2")
Target Platforms: Windows Server 2012, Windows RT