Returns or sets a value specifying the style of border drawn on the right edge of the specified column of a DataGrid control.
Syntax
object.DividerStyle [= value]
The DividerStyle property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer that specifies the border style, as described in Settings. |
Settings
The settings for value are:
Constant | Value | Description |
dbgNoDividers | 0 | No divider |
dbgBlackLine | 1 | Black line |
dbgDarkGrayLine | 2 | (Default) Dark gray line |
dbgRaised | 3 | Raised |
dbgInset | 4 | Inset |
dbgUserForeColor | 5 | Divider is drawn using the color set by the ForeColor property |
dbgLightGrayLine | 6 | Light gray line |
Remarks
The DividerStyle property doesn't affect whether the column can be resized by dragging it or not. When the border is either raised or inset, the colors used are set by Microsoft Windows.