Help Center

GridLineWidthFixedproperty

Returns or sets the width, in pixels, of the lines displayed between the fixed cells of the grid.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY GridLineWidthFixed () AS SHORT
PROPERTY GridLineWidthFixed (BYVAL nWidth AS SHORT)

Parameters

NameDescription
nWidthAn integer representing the width in pixels (e.g., 2 for a thicker line).

Description

Returns or sets the preferred width, in pixels, of the fixed areas of the grid.

Remarks

This property determines the thickness (width) of the lines separating cells in the fixed rows (top-most rows that don't scroll) and fixed columns (left-most columns that don't scroll).

Using a thicker width for fixed areas can help visually separate headers from the scrollable region, but very large differences may create uneven borders.

Example

grid.GridLineWidthFixed = 2 ' Sets fixed grid lines to be 2 pixels wide grid.GridLineWidth = 1 ' Sets scrollable grid lines to be 1 pixel wide

Reference