Visual Basic: Windows Controls

HideColumnHeaders Property (ListView Control)

See Also    Example    Applies To

Returns or sets whether ColumnHeader objects in a ListView control are hidden in Report view.

Syntax

object.HideColumnHeaders [= boolean]

The HideColumnHeaders property syntax has these parts:

Part Description
object An object expression that evaluates to a ListView control.
Boolean A Boolean expression that specifies if the column headers are visible in Report view, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True The column headers are not visible.
False (Default) The column headers are visible.

Remarks

The ListItem objects and any related subitems remain visible even if the HideColumnHeaders property is set to True.