Help Center

GridLineWidthIndentproperty

Returns or sets the width, in pixels, of the lines displayed between the indents 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 GridLineWidthIndent (BYVAL BandNumber AS LONG) AS SHORT
PROPERTY GridLineWidthIndent (BYVAL BandNumber AS LONG, BYVAL nWidth AS SHORT)
PROPERTY GridLineWidthIndent () AS SHORT
PROPERTY GridLineWidthIndent (BYVAL nWidth AS SHORT)

Parameters

NameDescription
BandNumberA zero‑based index identifying the band whose indent line width is being retrieved or modified. If the band number is omited, band 0 is assumed.
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 grid lines drawn within the indentation area of the hierarchical display.

Remarks

In hierarchical layouts, child rows are visually indented to reflect their level within the structure. The GridLineWidthIndent property controls the thickness of the grid lines drawn in these indentation regions, allowing you to visually distinguish different hierarchy levels or emphasize structural depth.

This property is one of several width‑specific settings that let you fine‑tune the appearance of different grid areas:

  • GridLineWidth – scrollable populated cells
  • GridLineWidthFixed – fixed rows and fixed columns
  • GridLineWidthBand – specific band
  • GridLineWidthHeader – band header area
  • GridLineWidthIndent – indentation area
  • GridLineWidthUnpopulated – empty/unpopulated regions

Example

grid.GridLineWidthIndent(0) = 2 ' Sets the indents of first band to be 2 pixels wide grid.GridLineWidthIndent(1) = 1 ' Sets the indents of the second band to be 1 pixels wide

Reference