property Grid.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, dialog box or control has the focus. Use the HideSelection property to hide the selected items when the control loses the focus. Use the SelBackColor property to indicate the background color for selected items. Use the SelForeColor property to specify the foreground color for selected items. Use the SelectItem property to select programmatically items. 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.