property Grid.HasLines as HierarchyLineEnum
Enhances the graphic representation of a grid control's hierarchy by drawing lines that link child items to their corresponding parent item.

TypeDescription
HierarchyLineEnum An HierarchyLinesEnum expression that indicates whether the control displays the hierarchy lines.

Use the HasLines property to hide the hierarchy lines. Use the LinesAtRoot property to allow control displays a line that links that root items of the control. Use the InsertItem method to insert new items to the control. Use HasButtons property to hide the buttons displayed at the left of each parent item. Use the DrawGridLines property to display grid lines. The GridLineStyle property to specify the style for horizontal or/and vertical gridlines in the control. Use the InsertControlItem property to insert an ActiveX item.