<< Click to display table of contents >> TRVTableItemInfo.HeadingRowColor, LastRowColor, OddRowsColor, EvenRowsColor, FirstColumnColor, LastColumnColor, OddColumnsColor, EvenColumnsColor |
A set of properties defining default colors of cells in specific rows and columns.
property HeadingRowColor: TRVColor;
property LastRowColor: TRVColor;
property OddRowsColor: TRVColor;
property EvenRowsColor: TRVColor;
property FirstColumnColor: TRVColor;
property LastColumnColor: TRVColor;
property OddColumnsColor: TRVColor;
property EvenColumnsColor: TRVColor;
(introduced in version 17)
By default, all cells are transparent, and you can see the table background through cells (see Color property).
Using the properties listed in this topic, you can define default colors of cells in the corresponding rows and columns.
Finally, you can define the color of the specified cell in Cell.Color property.
Property |
Meaning |
---|---|
HeadingRowColor |
Color of heading rows. If this table has no heading rows, but HeadingRowColor<>clNone, this color is used for the first row. |
LastRowColor |
Color of the last row |
OddRowsColor |
Color of odd row bands |
EvenRowsColor |
Color of even row bands |
FirstColumnColor |
Color of the first column |
LastColumnColor |
Color of the last column |
OddColumnsColor |
Color of odd row bands |
EvenColumnsColor |
Color of even row bands |
if FirstColumnColor<>clNone, column bands are started from the second column, otherwise from the first column. Each band has ColBandSize columns.
Row bands are started from the first column after the table heading rows. If HeadingRowCount>0, it defines the number of heading rows. Otherwise, if HeadingRowColor<>clNone, one heading row is assumed. Otherwise, row bands start from the first row. Each band has RowBandSize rows.
Colors have the following priorities (in descending order) : HeadingRowColor, LastRowColor, FirstColumnColor, LastColumnColor, OddColumnsColor and EvenColumnsColor, OddRowsColor and EvenRowsColor. Only properties having values different from clNone are taken into account.
Default values
See also
▪Cell.Color
▪Cell.Opacity