TopLine
TopLine
Specifies the style for the horizontal line above the cell
Enumerated type, possible values are:
Default | |
---|---|
NoLine | |
NormalLine | |
SolidLine | |
ThickLine | |
Join |
This property is used to change the line type for the separator line that appears to the top of the current cell or cells specified by the Cell() method. It can also be used to join two cells together vertically. See also the LeftLine property.
Available types are:
Default | Default behaviour. If applied to a cell, then any non-default style for the row or column or whole grid is used instead. If all these are Default, then the behaviour is the same as NormalLine. |
---|---|
NormalLine | Use the normal thin separator line |
SolidLine | Use a bolder version of NormalLine but keep the same thickness |
ThickLine | Use a thicker, bolder separator line |
NoLine | No separator line |
Join | Consolidate the two separated cells into one |
For example, the following would change the line to the top of all cells in row 4 to be a thick line:
.GridControl1.Cell(4, 0).TopLine = &.ThickLine