SftTree/NET 2.0

GridLines Property, SftTree Class

Softel vdm, Inc.

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

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property GridLines As GridLinesStyleEnum

C#   

public GridLinesStyleEnum GridLines { get; set; }

C++   

public: property GridLinesStyleEnum GridLines {
        GridLinesStyleEnum get();
        void set(GridLinesStyleEnum value);
}

Property Value

The grid lines style.

GridLinesStyleEnum

Value

Description

None

0

No grid lines are shown.

Vertical

1

Vertical grid lines are shown.

Horizontal

2

Horizontal grid lines are shown.

Both

3

Both horizontal and vertical grid lines are shown.

The default value is GridLinesStyleEnum.Both.

Comments

The GridLines property 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 GridHorizontalColor and GridVerticalColor properties.

GridLinesPen defines the pen style used to draw grid lines.

Grid lines are only used in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com