# FillStyleConstantsEx
{: .no_toc }

Extended fill-pattern values for controls that support twinBASIC's gradient fills in addition to the classic patterns from [**FillStyleConstants**](/tB/Packages/VBRUN/Constants/FillStyleConstants.md). The enumeration is tagged **\[MustBeQualified\]**, so members must be referenced through the enum name (`FillStyleConstantsEx.vbGradientNS`) to avoid clashing with [**FillStyleConstants**](/tB/Packages/VBRUN/Constants/FillStyleConstants.md).

| Constant | Value | Description |
|----------|-------|-------------|
| **vbFSSolid**{: #vbFSSolid } | 0 | Solid fill in **FillColor**. |
| **vbFSTransparent**{: #vbFSTransparent } | 1 | No fill --- the background shows through. |
| **vbHorizontalLine**{: #vbHorizontalLine } | 2 | Horizontal lines. |
| **vbVerticalLine**{: #vbVerticalLine } | 3 | Vertical lines. |
| **vbUpwardDiagonal**{: #vbUpwardDiagonal } | 4 | Upward-sloping diagonal lines. |
| **vbDownwardDiagonal**{: #vbDownwardDiagonal } | 5 | Downward-sloping diagonal lines. |
| **vbCross**{: #vbCross } | 6 | Crossed horizontal and vertical lines. |
| **vbDiagonalCross**{: #vbDiagonalCross } | 7 | Crossed diagonal lines. |
| **vbGradientNS**{: #vbGradientNS } | 8 | Vertical (north--south) linear gradient. *(twinBASIC addition.)* |
| **vbGradientWE**{: #vbGradientWE } | 9 | Horizontal (west--east) linear gradient. *(twinBASIC addition.)* |

![Ten Shape controls, one in each FillStyle value: solid, transparent, six hatch patterns, and the gradients from top to bottom and from left to right between FillColor and FillColorAlt](/Reference/Default/VB/Shape/Images/Shape_FillStyle.png){:width="671" height="249"}
