ListBox.GridLinesVertical


Warning

This item was deprecated in version 2019r2. Please use DesktopListBox.GridLineStyle as a replacement.

Description

Draws vertical rules between columns in one of five styles.

Notes

You can use the class constants for Borders to set the gridline styles. They are:

Value

Class Constant

0

BorderDefault

1

BorderNone

2

BorderThinDotted

3

BorderThinSolid

4

BorderThickSolid

5

BorderDoubleThinSolid

Sample code

This example sets the vertical lines to Thin Solid. The code is in the Open event of the control.

Me.GridLinesVertical = ListBox.BorderThinSolid

Compatibility

All projects types on all supported operating systems.