property G2antt.ForeColor as Color

Retrieves or sets a value that indicates the control's foreground color.

TypeDescription
Color A color expression that indicates the control's foreground color.

The ForeColor property changes the foreground color of the control's scrolled area. The ExG2antt control can group the columns into two categories: locked and unlocked. The Locked category contains all the columns that are fixed to the left area of the client area. These columns cannot be scrolled horizontally. Use the CountLockedColumns to specify the number of locked columns. The unlocked are contains the columns that can be scrolled horizontally. To change the background color of the control's locked area use BackColorLock property. Use the CellForeColor property to specify the cell's foreground color. Use the ItemForeColor property to specify the item's foreground color.