property G2antt.SelBackMode as BackModeEnum

Retrieves or sets a value that indicates whether the selection is transparent or opaque.

TypeDescription
BackModeEnum A BackModeEnum expression that indicates whether the selection is transparent or opaque.

By default, the SelBackMode property is exOpaque. Use the SelBackMode property to specify how the selection is shown in the control. Use the SelBackMode property to specify a specify a semi-transparent color so the selected rows do not lose the colors, pictures, when they are selected. Use the SelBackColor property to specify the visual appearance or the background color for selected items. Use the SelForeColor property to specify the selection foreground color. The SingleSel property specifies whether the control supports single or multiple selection. The control fires the SelectionChanged event when user selects an item. Use the SelectedItem property to get the selected item. Use the SelectItem to select or unselect a specified item. The FullRowSelect property specifies whether the full item or a single cell is being selected.

The following screen shot shows the control when no items are selected:

The following screen shot shows the first three items selected, while the SelBackMode property is exOpaque:

The following screen shot shows the first three items selected, while the SelBackMode property is exOpaque, and FullRowSelect property is 0:

The following screen shot shows the first three items selected, while the SelBackMode property is exTransparent:

The following screen shot shows the first three items selected, while the SelBackMode property is exGrid: