Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

GridHorizontalColor Property, SftTree Class

Defines the color used for horizontal grid lines.

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

Syntax

public Color GridHorizontalColor { get; set; }
Public Property GridHorizontalColor As Color

Value

The grid lines color.

The default value is Color.Control.

Comments

Defines the color used for horizontal grid lines.

The grid lines styles default for all cells is defined using the control's SftTree.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