GrapeCity.Win.MultiRow Namespace > Border Class > Border Constructor : Border Constructor(Line,Line,Line,Line,Line,Line) |
Public Function New( _ ByVal left As Line, _ ByVal top As Line, _ ByVal right As Line, _ ByVal bottom As Line, _ ByVal diagonalUp As Line, _ ByVal diagonalDown As Line _ )
GrapeCity.Win.MultiRow.Template template1 = GrapeCity.Win.MultiRow.Template.CreateGridTemplate(new GrapeCity.Win.MultiRow.Cell[] { new GrapeCity.Win.MultiRow.TextBoxCell(), new GrapeCity.Win.MultiRow.TextBoxCell(), new GrapeCity.Win.MultiRow.TextBoxCell() }, Int32.MaxValue, GrapeCity.Win.MultiRow.AutoGenerateGridTemplateStyles.ColumnHeader | GrapeCity.Win.MultiRow.AutoGenerateGridTemplateStyles.RowHeaderAutoNumber, 50); GrapeCity.Win.MultiRow.Border bord = new GrapeCity.Win.MultiRow.Border(new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.MediumDashDotDot, System.Drawing.Color.Aqua), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Double, System.Drawing.Color.DarkRed), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.MediumDashed, System.Drawing.Color.Magenta), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Medium, System.Drawing.Color.DarkOrange), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Medium, System.Drawing.Color.DarkOrange), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Medium, System.Drawing.Color.Blue)); template1.ColumnHeaders[0].Cells[0].Value = "Column1"; template1.ColumnHeaders[0].Cells[1].Value = "Column2"; template1.ColumnHeaders[0].Cells[2].Value = "Column3"; gcMultiRow1.Template = template1; gcMultiRow1.RowCount = 5; gcMultiRow1[1, 1].Style.Border = bord;
Dim template1 As GrapeCity.Win.MultiRow.Template = GrapeCity.Win.MultiRow.Template.CreateGridTemplate(New GrapeCity.Win.MultiRow.Cell() {New GrapeCity.Win.MultiRow.TextBoxCell(), New GrapeCity.Win.MultiRow.TextBoxCell(), New GrapeCity.Win.MultiRow.TextBoxCell()}, Int32.MaxValue, GrapeCity.Win.MultiRow.AutoGenerateGridTemplateStyles.ColumnHeader Or GrapeCity.Win.MultiRow.AutoGenerateGridTemplateStyles.RowHeaderAutoNumber, 50) Dim bord As New GrapeCity.Win.MultiRow.Border(New GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.MediumDashDotDot, System.Drawing.Color.Aqua), New GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Double, System.Drawing.Color.DarkRed), New GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.MediumDashed, System.Drawing.Color.Magenta), New GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Medium, System.Drawing.Color.DarkOrange), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Medium, System.Drawing.Color.DarkOrange), new GrapeCity.Win.MultiRow.Line(GrapeCity.Win.MultiRow.LineStyle.Medium, System.Drawing.Color.Blue)) template1.ColumnHeaders(0).Cells(0).Value = "Column1" template1.ColumnHeaders(0).Cells(1).Value = "Column2" template1.ColumnHeaders(0).Cells(2).Value = "Column3" GcMultiRow1.Template = template1 GcMultiRow1.RowCount = 5 GcMultiRow1(1, 1).Style.Border = bord
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