SftTree/NET 2.0 - Tree Control for Windows Forms


GridLines Property, CellClass Class

Defines the grid lines style for this cell.

Class: CellClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET


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


The grid lines.

The default value is GridLinesOptStyleEnum.Default.


Defines the grid lines style for this cell.

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.

Only the right and bottom edge of a cell are used to render grid lines, so this property only affects these areas. The upper or left edge of a cell are not used. Instead, the previous or upper cell render the grid lines. If grid lines in these area need to be manipulated, the properties of the upper or left cell must be modified.

See Also CellClass Class | Classes | SftTree/NET 2.0