Highlight Property

Visual Studio .NET 2003

Specifies whether the cell with the focus in a Grid control appears selected. Available at design time and read/write at run time.

Grid.Highlight [= lExpr ]

Property Values

The settings for the Highlight property are:
Setting Description
True (.T.) The cell is marked (highlighted) as selected. (Default)
False (.F.) The cell is not selected.


If the HighLight property is set to true (.T.), you can use it in conjunction with a Column's SelectOnEntry property to determine if the entire cell appears selected. If you set the HighLight property to false (.F.), the SelectOnEntry property is ignored.

See Also

HighlightRow Property | SelectOnEntry Property | HighlightForeColor Property | HighlightBackColor Property | HighlightStyle Property

Applies To: Grid Control