DividerStyle Property
This property determines the style of the border drawn on the right edge of a column or the left edge of a split.
object.DividerStyle= value
Read/Write at run time and design time.
Property applies to Column and Split objects.
Values
Design Time |
Run Time |
0 - No dividers (Split default) |
dblNoDividers |
1 - Black line |
dblBlackLine |
2 – Custom color |
dblCustomColor |
3 - Dark gray line (Column default) |
dblDarkGrayLine |
4 - Raised |
dblRaised |
5 - Inset |
dblInset |
6 – Fore color |
dblUseForeColor |
7 - Light gray line |
dblLightGrayLine |
The DividerStyle property does not control whether a column can be resized by dragging its border. Use the AllowSizing property to control this behavior.
Note: For splits, the setting 0 - No dividers does not eliminate the dividing line at the left edge, but causes it to be drawn as a double line if the user can resize the split, or a solid line if the split's width is fixed. For more information, see Creating and Resizing Splits through User Interaction.
See Also