TcxTreeListStyles.UseOddEvenStyles Property
Specifies if the TreeList control uses alternate styles to paint odd and even nodes.
Declaration
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