GrapeCity.Win.MultiRow Namespace : LineStyle Enumeration |
Public Enum LineStyle Inherits System.Enum
Dim instance As LineStyle
public enum LineStyle : System.Enum
Member | Description |
---|---|
DashDot | Specifies a 1 pixel width line consisting of a repeating pattern of dash-dot. |
DashDotDot | Specifies a 1 pixel width line consisting of a repeating pattern of dash-dot-dot. |
Dashed | Specifies a 1 pixel width line consisting of dashes. |
Dotted | Specifies a 1 pixel width line consisting of dots. |
Double | Specifies a 3 pixel width line which consists of two 1 pixel width solid lines and a 1 pixel width empty line in the middle of the two solid lines. |
Hair | Specifies a 1 pixels width hair style line. |
Medium | Specifies a 2 pixel width solid line. |
MediumDashDot | Specifies a 2 pixel width line consisting of a repeating pattern of dash dot. |
MediumDashDotDot | Specifies a 2 pixel width line consisting of a repeating pattern of dash-dot-dot. |
MediumDashed | Specifies a 2 pixel width line consisting of dashes. |
None | Specifies no line style. |
SlantedDashDot | Specifies a 2 pixel width line consisting of two slanted 1 pixel lines which consist of a repeating pattern of dash-dot. |
Thick | Specifies a 3 pixel width solid line. |
Thin | Specifies a 1 pixel width solid 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)); 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)) 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
System.Object
System.ValueType
System.Enum
GrapeCity.Win.MultiRow.LineStyle
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