SftTree/NET 2.0

GridLines Property, ColumnClass Class

Softel vdm, Inc.

Defines the default grid lines style for cells in this column's item area.

Syntax      ColumnClass Class (Softelvdm.SftTreeNET)

VB   

Public Property GridLines As GridLinesOptStyleEnum

C#   

public GridLinesOptStyleEnum GridLines { get; set; }

C++   

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

Property Value

The grid lines.

GridLinesOptStyleEnum

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.

Default

-1

The grid lines style is determined by the containing item or control.

The default value is GridLinesOptStyleEnum.Default.

Comments

The GridLines property defines the default grid lines style for cells in this column's item area.

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