Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItems.TreeLineStyle Property

Defines the appearance of tree lines connecting related items.

Syntax

Get

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

Put

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

object

A SftBoxItems object.

Style

Defines the appearance of tree lines connecting related items.

StyleValueDescription
treeLineStyleSftBoxNone0Connecting tree lines are not shown.
treeLineStyleSftBoxSolid1Connecting tree lines are shown as solid lines.
treeLineStyleSftBoxDotted2Connecting 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.
treeLineStyleSftBoxDotted03Connecting dotted tree lines are shown between all items.
treeLineStyleSftBoxTransparent4Connecting 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.
treeLineStyleSftBoxAutomatic5The value is translated to treeLineStyleSftBoxDotted or treeLineStyleSftBoxTransparent depending on the operating system used. On Windows 98, ME, 2000, connecting dotted tree lines are shown between items on levels 1 and lower (using treeLineStyleSftBoxDotted). On Windows XP, Windows Server 2003, Windows Vista and above, connecting dotted tree lines are not shown (using treeLineStyleSftBoxTransparent).
treeLineStyleSftBoxAutomatic06The value is translated to treeLineStyleSftBoxDotted0 or treeLineStyleSftBoxTransparent depending on the operating system used. On Windows 98, ME, 2000, connecting dotted tree lines are shown between all items (using treeLineStyleSftBoxDotted0). On Windows XP, Windows Server 2003, Windows Vista and above, connecting dotted tree lines are not shown (using treeLineStyleSftBoxTransparent).

Comments

The TreeLineStyle property defines the appearance of tree lines connecting related items.

The color used for connecting tree lines is defined using the Items.TreeLineColor property.

If tree lines are enabled, but all items are on level 0, a small amount of unused space remains to the left of the first cell.

See Also SftBoxItems Object | Object Hierarchy


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