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:
LineStyleEnum.Double
LineStyleEnum.Inset
LineStyleEnum.Raised
LineStyleEnum.None
LineStyleEnum.Single
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.
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |