Back to Devexpress

TcxCustomGridTableViewStyles.ContentOdd Property

vcl-cxgridcustomtableview-dot-tcxcustomgridtableviewstyles-82ec8b29.md

latest1.5 KB
Original Source

TcxCustomGridTableViewStyles.ContentOdd Property

Specifies the style for odd grid View rows.

Declaration

delphi
property ContentOdd: TcxStyle index vsContentOdd read; write;

Property Value

TypeDescription
TcxStyle

Stores appearance settings for a UI element.

|

Remarks

This property allows you to define the appearance (that is, font and background color) of odd grid View rows. Assign different styles to the ContentOdd and ContentEven properties to create an alternating row pattern.

The following image demonstrates odd rows whose background is filled with the clWebCornSilk color ($008CE6F0):

Note

If the ContentOdd property is unspecified, the Content property determines the appearance of odd rows.

See Also

TcxCustomGridTableViewStyles.UseOddEvenStyles

Style Repository

TcxCustomGridTableViewStyles Class

TcxCustomGridTableViewStyles Members

cxGridCustomTableView Unit