property G2antt.SelForeColor as Color
Retrieves or sets a value that indicates the selection foreground color.

TypeDescription
Color A color expression that indicates the selection foreground color.

By default, the SelForeColor property is applied ONLY to selected items being displayed in the list area. Use the SelForeColor property to change the foreground color of selected items being displayed in the chart area. Use the SelForeColor and SelBackColor properties to change the colors used for selected items. The control highlights the selected items only if the SelBackColor and BackColor properties have different values, and the SelForeColor and ForeColor properties have different values. Use the SelectCount property to get the number of selected items. Use the SelectedItem property to get the selected item. Use the SelectItem to select or unselect a specified item. Use the FocusItem property to get the focused item. The control fires the SelectionChanged event when user changes the selection. Use the SelectableItem property to specify the user can select an item. The SelForeColor property is applied only if it is different that the control's foreground color. Use the SelectOnClick property to disable selecting new items when the user clicks the chart area. The SelBackMode property specifies the way the selected items are shown in the control.