HeadLines Property

       

Returns or sets a value indicating the number of lines of text displayed in the column headers of a DataGrid control.

Syntax

object.HeadLines [= value]

The HeadLines property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A single from 0 to 10. The default value is 1, which causes the control to display the names of underlying fields for each column in the header. A setting of 0 removes the headings.

Remarks

The HeadLines property can be used to display more than one line of text in the column headers of the DataGrid control.