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

TcxTreeListStyles.UseOddEvenStyles Property

Specifies if the TreeList control uses alternate styles to paint odd and even nodes.

#Declaration

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

#Property Value

Type Default
TdxDefaultBoolean bDefault

#Remarks

Options include:

Value Description
bFalse The TreeList control paints odd and even nodes using the alternate styles provided by the ContentOdd and ContentEven properties. If a skin is applied to the TreeList control, you can customize the nodes’ background color using the skin’s GridLikeControlContentOddColor and GridLikeControlContentEvenColor settings.
bTrue The TreeList control paints all nodes using the Content style. If a skin is applied to the TreeList control, use the skin’s GridLikeControlContentColor setting to customize their background color.
bDefault The TreeList control paints odd and even nodes 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