ComponentOne True DBGrid Pro 8
AlternatingRowStyle Property (TDBDropDown)

This property determines whether a grid or split displays odd-numbered rows in one style and even-numbered rows in another.

Syntax

object.AlternatingRowStyle= boolean

Remarks

Read/Write at run time and design time.

If True, the OddRowStyle and EvenRowStyle properties control the appearance of rows within the specified object.

If False (the default), the Style property controls the display of rows within the specified object.

At design time, you can change the colors and fonts used to render odd (even) rows by modifying the built-in OddRow (EvenRow) style using the Styles property page.

At run time, you can change the colors and fonts used to render odd (even) rows by modifying the Style object returned by the OddRowStyle (EvenRowStyle) property.

 

 


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

Product Support Forum  |  Documentation Feedback