Line class
A single stroke used to draw a grid line, divider, or resizer bar — simpler than a full Border (no blend-with-background flag, no surrounding Elements array). Reached as WaynesGrid.VerticalLineOptions, HorizontalLineOptions, and ResizerBar.
With WaynesGrid1.VerticalLineOptions
.StrokeSize = 1
.Fill.ColorPoints.SetSolidColor &HD0D0D0 ' pale grey
End With
Properties
Fill
The Fill that supplies the colour or gradient used to draw the line.
StrokeSize
The stroke thickness in pixels. PixelCount. Default: 0 (the line is not drawn until you assign a non-zero size).
Events
OnChanged
Raised when StrokeSize or Fill is assigned, or when the contained Fill raises its own OnChanged.