# Borders and Dividing Lines

## Content



The [RowDivider](/componentone/docs/win/online-truedbgrid/) and [ColumnDivider](/componentone/docs/win/online-truedbgrid/) properties enable different horizontal and vertical lines to be selected and also enable the color of the lines to be set. The properties return an underlying [GridLines](/componentone/docs/win/online-truedbgrid/) object that has two properties. These two properties, [Style](/componentone/docs/win/online-truedbgrid/) and [Color](/componentone/docs/win/online-truedbgrid/) define how the grid's cell borders will look. The allowable values for the **Style** property are as follows:

*   [LineStyleEnum.Double](/componentone/docs/win/online-truedbgrid/)
*   [LineStyleEnum.Inset](/componentone/docs/win/online-truedbgrid/)
*   [LineStyleEnum.Raised](/componentone/docs/win/online-truedbgrid/)
*   [LineStyleEnum.None](/componentone/docs/win/online-truedbgrid/)
*   [LineStyleEnum.Single](/componentone/docs/win/online-truedbgrid/)

For example, setting the style property of RowDivider to [LineStyleEnum.None](/componentone/docs/win/online-truedbgrid/) eliminates the dividing lines between rows and enables you to cram a bit more data into the available area.

For ColumnDivider properties, you can set the **Style** property to LineStyleEnum.None, and the [HeaderDivider](/componentone/docs/win/online-truedbgrid/) property to **False**.