Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

GridStyle Property, SftTree Object

Defines the method used to paint grid lines.

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

Syntax

Get

VB.NETStyle = object.GridStyle As SftTreeGridStyleConstants
VBStyle = object.GridStyle As SftTreeGridStyleConstants
C#.NETSftTreeGridStyleConstants Style = object.GridStyle;
VC++enum SftTreeGridStyleConstants Style = object->GridStyle;
enum SftTreeGridStyleConstants Style = object->GetGridStyle();
CHRESULT object->get_GridStyle(enum SftTreeGridStyleConstants* Style);

Put

VB.NETobject.GridStyle = Style As SftTreeGridStyleConstants
VBobject.GridStyle = Style As SftTreeGridStyleConstants
C#.NETSftTreeGridStyleConstants object.GridStyle = Style;
VC++enum SftTreeGridStyleConstants object->GridStyle = Style;
void object->PutGridStyle(enum SftTreeGridStyleConstants Style);
CHRESULT object->put_GridStyle(enum SftTreeGridStyleConstants Style);

object

A SftTree object.

Style

Defines the method used to paint grid lines.

StyleValueDescription
gridSftTreeNone0No grid lines are drawn.
gridSftTreeVert1Vertical grid lines are drawn between columns.
gridSftTreeHorz2Horizontal grid lines are drawn between items.
gridSftTreeBoth3Vertical and horizontal grid lines are drawn.
gridSftTreeVertDot4Vertical dotted grid lines are drawn between columns.
gridSftTreeHorzDot5Horizontal dotted grid lines are drawn between items.
gridSftTreeBothDot6Vertical 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 Tool Tips when grid lines are used can be defined using the Items.ToolTipsUseEntireCell property.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.