LeftLine

[property icon] LeftLine

Specifies the style for the vertical line to the left of the cell

Enumerated type, possible values are:

Default
NoLine
NormalLine
SolidLine
ThickLine
Join

Applies to: Grid , GridCell


>

LeftLine

This property is used to change the line type for the separator line that appears to the left of the current cell or cells specified by the Cell() method. It can also be used to join two cells together horizontally. See also the TopLine 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 left of all cells in column 4 to be a thick line:

.GridControl1.Cell(0, 4).LeftLine = &.ThickLine

See also

Grid methods, properties and events. GridCell methods, properties and events.