ComponentOne VSFlexGrid 8.0
BackColorAlternate Property

Returns or sets the background color for alternate rows (set to 0 to disable).

Syntax

[form!]VSFlexGrid.BackColorAlternate[ = colorref& ]

Remarks

If you set the BackColorAlternate property to a non-zero value, the color specified is used to paint every other row in the control, creating a checkbook look.

Using this property is faster and more efficient than using the CellBackColor property to paint every other row. Besides, the alternating colors are preserved even if you sort the grid or add and remove rows.

Data Type

Color

Default Value

0 (Disabled)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback