GrapeCity.Win.MultiRow Namespace > SummaryCell Class : SummaryCell Constructor |
// Adds cells to a design created template named Template1 that contains several columns and a row GrapeCity.Win.MultiRow.SummaryCell test = new GrapeCity.Win.MultiRow.SummaryCell(); test.Style.BackColor = Color.Aqua; test.Location = new Point(40, 0); test.MinimumSize = new Size(120, 0); GrapeCity.Win.MultiRow.TextBoxCell test1 = new GrapeCity.Win.MultiRow.TextBoxCell(); test1.Style.BackColor = Color.Beige; test1.Name = "test1"; test1.Location = new Point(test.Width, 0); test.Calculation = new GrapeCity.Win.MultiRow.Expression("=test1"); Template1.Row.Cells.Add(test); Template1.Row.Cells.Add(test1); gcMultiRow1.Template = Template1;
'Adds cells to a design created template named Template1 that contains several columns and a row Dim test As GrapeCity.Win.MultiRow.SummaryCell = New GrapeCity.Win.MultiRow.SummaryCell() test.Style.BackColor = Color.Aqua test.Location = New Point(40, 0) test.MinimumSize = New Size(120, 0) Dim test1 As GrapeCity.Win.MultiRow.TextBoxCell = New GrapeCity.Win.MultiRow.TextBoxCell() test1.Style.BackColor = Color.Beige test1.Name = "test1" test1.Location = New Point(test.Width, 0) test.Calculation = New GrapeCity.Win.MultiRow.Expression("=test1") Template1.Row.Cells.Add(test) Template1.Row.Cells.Add(test1) GcMultiRow1.Template = Template1
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2