[]
        
(Showing Draft Content)

C1.Win.C1List.ListBase.C1ListBase.AlternatingRows

AlternatingRows Property

AlternatingRows

Determines if a list or split displays odd-numbered rows in one style and even-numbered rows in another.

Declaration
[Layout]
public bool AlternatingRows { get; set; }
Property Value
Type Description
bool

The default value is false.

Remarks

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.