# Line class
{: .no_toc }

A single stroke used to draw a grid line, divider, or resizer bar --- simpler than a full [**Border**](/tB/Packages/CustomControls/Styles/Borders.md#border-class) (no blend-with-background flag, no surrounding **Elements** array). Accessed as [**WaynesGrid.VerticalLineOptions**](/tB/Packages/CustomControls/WaynesGrid/index.md#verticallineoptions), [**HorizontalLineOptions**](/tB/Packages/CustomControls/WaynesGrid/index.md#horizontallineoptions), and [**ResizerBar**](/tB/Packages/CustomControls/WaynesGrid/index.md#resizerbar).

```tb check_build
With WaynesGrid1.VerticalLineOptions
    .StrokeSize = 1
    .Fill.ColorPoints.SetSolidColor &HD0D0D0    ' pale grey
End With
```

## Properties

### Fill
{: .no_toc }

The [**Fill**](/tB/Packages/CustomControls/Styles/Fill.md) that supplies the colour or gradient used to draw the line.

### StrokeSize
{: .no_toc }

The stroke thickness in pixels. [**PixelCount**](/tB/Packages/CustomControls/Enumerations/PixelCount.md). Default: 0 (the line is not drawn until a non-zero size is assigned).

## Events

### OnChanged
{: .no_toc }

Raised when [**StrokeSize**](#strokesize) or [**Fill**](#fill) is assigned, or when the contained [**Fill**](#fill) raises its own **OnChanged**.
