HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

TreeLineStyle Property, SftTreeItems Object

Defines the current tree line display style.

Syntax

Get

VB.NETStyle = object.TreeLineStyle As SftTreeTreeLineStyleConstants
VBStyle = object.TreeLineStyle As SftTreeTreeLineStyleConstants
C#.NETSftTreeTreeLineStyleConstants Style = object.TreeLineStyle;
VC++enum SftTreeTreeLineStyleConstants Style = object->TreeLineStyle;
enum SftTreeTreeLineStyleConstants Style = object->GetTreeLineStyle();
CHRESULT object->get_TreeLineStyle(enum SftTreeTreeLineStyleConstants* Style);

Put

VB.NETobject.TreeLineStyle = Style As SftTreeTreeLineStyleConstants
VBobject.TreeLineStyle = Style As SftTreeTreeLineStyleConstants
C#.NETSftTreeTreeLineStyleConstants object.TreeLineStyle = Style;
VC++enum SftTreeTreeLineStyleConstants object->TreeLineStyle = Style;
void object->PutTreeLineStyle(enum SftTreeTreeLineStyleConstants Style);
CHRESULT object->put_TreeLineStyle(enum SftTreeTreeLineStyleConstants Style);

object

A SftTreeItems object.

Style

Defines the current tree line display style.

StyleValueDescription
treeSftTreeNone0Connecting tree lines are not shown.
treeSftTreeShown1Connecting tree lines are shown between all items on levels 1 and lower. Items on level 0 (i.e., top-most items) are not connected to their child items.
treeSftTreeDotted2Connecting dotted tree lines are shown between all items on levels 1 and lower. Items on level 0 (i.e., top-most items) are not connected to their child items.
treeSftTreeDotted03Connecting dotted tree lines are shown between all items.
treeSftTreeInvisible4Connecting tree lines are not shown, but all layout and formatting is calculated as if they were present. This only affects the horizontal indentation of levels.
treeSftTreeAutomatic5On all supported Windows platforms, connecting dotted tree lines are not shown (using treeSftTreeInvisible).
treeSftTreeAutomatic06On all supported Windows platforms, connecting dotted tree lines are not shown (using treeSftTreeInvisible).

Comments

The TreeLineStyle property defines the current tree line display style.

The Items.TreeLineColor defines the color used to draw connecting tree lines.

Examples

VB6

         ShowFocusRectangle=   1
         ToolTipAlways   =   0
         ToolTipBackColor=   -1
         ToolTipForeColor=   -1
         ToolTipsUseEntireCell=   0
         TopIndex        =   0
         TreeLineColor   =   -2147483631
         TreeLineGrayedColor=   -2147483631
         TreeLineStyle   =   3
         UpdateCurrentExpandCollapse=   0
         OutlineStyle    =   1
         SelectOutlineBorderColor=   -1
         SelectInnerBorderColor=   -1
         SelectInnerFill1=   -1
         SelectInnerFill2=   -1
         SelectHotOutlineBorderColor=   -1

See Also SftTreeItems Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.