﻿# Row/Col Header Color Attributes

_Added September 2024; see History_

These parameters provide support for overriding row and column header color attributes.

For columns:

**RGBfgColHeader=r,g,b**

**RGBbgColHeader=r,g,b**

As with most other column attributes, specifying them for the 0 column establishes the default for the others but can still be overridden at the individual column level. Note that these refer to the "real" column headers, as opposed to the pseudo-headers established by the HdrLines=# option whose colors can be adjusted by the very similar RGBbgHeaders and RGBbgHeaders options. Also see [HdrFont](hdrfont.md), [XTR.HIDEHEADER](xtrctl.md), and [XTR\_HEADERSTYLE](xtrctl.md) for other column header attributes.

For rows:

**RGBfgRowHeader=r,g,b**

**RGBbgRowHeader=r,g,b**

The row headers, however, unlike the column headers, cannot be assigned colors individually. Regardless of which column you associate the options with, they will affect all of the row headers. The exception to this rule is for Property Sheets (see [XTF2\_PROPSHEET](xtf2_propsheet.md)), where the RGBfgRowHeader and RGBbgRowHeader options can be applied to individual "columns," keeping in mind that in Property Sheet mode, the tree is effectively rotated 90 degrees so that the column headers become row headers. Note that row headers are only visible if the [XTR.SHOWROWHDR](xtr.md) field is non-zero.

**Comments**

For both row and column headers, since they are normally under the stylistic control of the Windows theme system, you have to set XTR.USETHEMES=0 in order for the above options to have an effect.

**History**

2024 September, A-Shell 7.0.1763:  Parameters added to A-Shell, expand RGBxxRowHeaders to apply to individual rows in property sheet mode.