Customizing the Grid's Appearance > Borders and Dividing Lines |
The RowDivider and ColumnDivider 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 object that has two properties. These two properties, Style and Color define how the grid's cell borders will look. The allowable values for the Style property are as follows:
For example, setting the style property of RowDivider to LineStyleEnum.None 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 property to False. This enables you to visually group related columns, as shown in the following figure.