property Surface.SelectObjectStyle as LinesStyleEnum
Specifies the style to display the selected object.

TypeDescription
LinesStyleEnum A LinesStyleEnum expression that specifies the style of the line to be shown on the selected elements.
By default, the The SelectObjectStyle property is exLinesSolid + exLinesThick. If the SelectObjectStyle property is exNoLines, no lines are shown around the selected elements. The SelectObjectStyle property specifies the style to show the selected elements ( like changing the element's background/foreground colors, showing a border around the selected elements, and so on ). The SelectObjectColor / SelectObjectTextColor property specifies the colors to show the selected elements ( while the control has the focus ). The SelectObjectColorInactive / SelectObjectTextColorInactive property specifies the color to show the selected elements ( while the control is not focused ). Use the Background(exSelectObjectRectColor) property to specify the color to show the rectangle that highlights the elements that intersect the dragging rectangle.

The SingleSel property specifies whether the surface allows selecting one or multiple elements. The SelCount property counts the number of selected elements. The SelElement property returns the selected element based on its index in the selected elements collection. The Selection property sets or gets a safe array of selected elements. The AllowSelectObject property indicates the keys combination to allow user selecting new elements. The AllowSelectObjectRect property specifies the keys combination so the user can select the elements from the dragging rectangle. The AllowSelectNothing property indicates whether the selection is cleared once the user clicks any empty area on the surface. The SelectAll method selects all elements in the chart. Use the UnselectAll method to unselect all elements on the surface.

The following screen shot shows the selected elements ( default, SelectObjectStyle property exLinesSolid + exLinesThick, SelectObjectColor indicates a solid color ):

The following screen shot shows the selected elements ( default, SelectObjectStyle property exNoLines, SelectObjectColor indicates a solid color ):

The following screen shot shows the selected elements ( default, SelectObjectStyle property exLinesSolid + exLinesThick, SelectObjectColor indicates an EBN color ):

The following screen shot shows the selected elements ( default, SelectObjectStyle property exNoLines, SelectObjectColor indicates an EBN color ):