SftTree/OCX 7.0

SftTree.GridStyle Property

Softel vdm, Inc.

Defines the method used to paint grid lines.

Deprecated - Provided for compatibility with earlier versions only - Use Items.GridStyle instead

Syntax       

Get

VB.NET

Style = object.GridStyle  As SftTreeGridStyleConstants

VB

Style = object.GridStyle  As SftTreeGridStyleConstants

C#.NET

SftTreeGridStyleConstants Style = object.GridStyle;

VC++

enum SftTreeGridStyleConstants Style = object->GridStyle;
enum SftTreeGridStyleConstants Style = object->GetGridStyle();

C

HRESULT object->get_GridStyle(enum SftTreeGridStyleConstants* Style);

Delphi

Style := object.GridStyle  : TOleEnum;

Put

VB.NET

object.GridStyle = Style  As SftTreeGridStyleConstants

VB

object.GridStyle = Style  As SftTreeGridStyleConstants

C#.NET

SftTreeGridStyleConstants object.GridStyle = Style;

VC++

enum SftTreeGridStyleConstants object->GridStyle = Style;
void object->PutGridStyle(enum SftTreeGridStyleConstants Style);

C

HRESULT object->put_GridStyle(enum SftTreeGridStyleConstants Style);

Delphi

object.GridStyle := Style  : TOleEnum;

object

A SftTree object.

Style

Defines the method used to paint grid lines.

Style

Value

Description

gridSftTreeNone 

0

No grid lines are drawn.

gridSftTreeVert 

1

Vertical grid lines are drawn between columns.

gridSftTreeHorz

2

Horizontal grid lines are drawn between items.

gridSftTreeBoth

3

Vertical and horizontal grid lines are drawn.

gridSftTreeVertDot

4

Vertical dotted grid lines are drawn between columns.

gridSftTreeHorzDot

5

Horizontal dotted grid lines are drawn between items.

gridSftTreeBothDot

6

Vertical dotted and horizontal grid lines are drawn.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.GridStyle instead

The GridStyle property defines the method used to paint grid lines.

Horizontal grid lines are not drawn if the Items.Cell3D property is set to True.

The grid line colors can be modified using the Items.GridHorizontalColor and Items.GridVerticalColor properties.

The size of ToolTips when grid lines are used can be defined using the Items.ToolTipsUseEntireCell property.

See Also  SftTree Object | Object Hierarchy


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