Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

GridLines Property, SftTree Class

Defines the grid lines style for all cells in the tree control.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public GridLinesStyleEnum GridLines { get; set; }
Public Property GridLines As GridLinesStyleEnum

Value

The grid lines style.

The default value is GridLinesStyleEnum.Both.

Comments

Defines the grid lines style for all cells in the tree control.

The grid lines styles default for all cells is defined using the control's GridLines property. Columns can override the default for cells in one column using the ColumnClass.GridLines property. In turn, cells can override that default using the CellClass.GridLines property.

Grid lines colors can be defined using the SftTree.GridHorizontalColor and SftTree.GridVerticalColor properties.

SftTree.GridLinesPen defines the pen style used to draw grid lines.

Grid lines are only used in the item area.

See Also SftTree Class | Classes | SftTree/NET 2.0