Skip to main content

TcxVerticalGridStyles.UseOddEvenStyles Property

Specifies if the vertical grid control uses alternate styles to paint odd and even rows.

Declaration

property UseOddEvenStyles: TdxDefaultBoolean read; write; default bDefault;

Property Value

Type Default
TdxDefaultBoolean bDefault

Remarks

Options include:

Value Description
bFalse The vertical grid control paints odd and even rows using the alternate styles provided by the ContentOdd and ContentEven properties. If a skin is applied to the vertical grid control, you can customize the rows’ background color using the skin’s GridLikeControlContentOddColor and GridLikeControlContentEvenColor settings.
bTrue The vertical grid control paints all rows using the Content style. If a skin is applied to the vertical grid control, use the skin’s GridLikeControlContentColor setting to customize their background color.
bDefault The vertical grid control paints odd and even rows using the specified alternate styles or alternate skin colors only if the GridLikeControlContentOddColor setting differs from either the GridLikeControlContentColor or GridLikeControlContentEvenColor setting.

The default UseOddEvenStyles property value is bDefault.

See Also