property Gantt.HideSelection as Boolean
Returns a value that determines whether selected item appears highlighted when a control loses the focus.

TypeDescription
Boolean A boolean expression that indicates whether the selected item appears highlighted when a control loses the focus.
By default, the HideSelection property is False. You can use this property to indicate which item is highlighted while another form or a dialog box has the focus. Use the SelForeColor and SelBackColor property to customize the colors for the selected items in the control. Use the SelectItem property to programmatically select an item. Use the SelectedItem and SelectCount property to retrieve the list of selected items. Use the SelectableItem property to specify whether an items can be selected.