Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableViewStyles.UseOddEvenStyles Property

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

#Declaration

Delphi
property UseOddEvenStyles: TdxDefaultBoolean read; write; default bDefault;

#Property Value

Type Default Description
TdxDefaultBoolean bDefault

Enumerates True, False, and default values.

#Remarks

Options include:

Value Description
bTrue The grid View applies alternating styles assigned to the ContentOdd and ContentEven properties. If a skin is applied to the TcxGrid control, you can use the skin’s GridLikeControlContentOddColor and GridLikeControlContentEvenColor settings instead.
bFalse The grid View applies the style assigned to the Content style to all rows. If a skin is applied to the TcxGrid control, use the skin’s GridLikeControlContentColor setting to change the background color.
bDefault The grid View applies the specified alternating styles or skin colors only if the GridLikeControlContentOddColor setting differs from either the GridLikeControlContentColor or GridLikeControlContentEvenColor setting.

The UseOddEvenStyles property’s default value is bDefault.

See Also