TRVTableItemInfo.HeadingRowColor, LastRowColor, OddRowsColor, EvenRowsColor, FirstColumnColor, LastColumnColor, OddColumnsColor, EvenColumnsColor
|Top Previous Next|
A set of properties defining default colors of cells in specific rows and columns.
property HeadingRowColor: TColor;
(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.
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.
TRichView © trichview.com