HeaderPane
Main
Hide
Share Link
Print

GridHorizontalColor Property, SftTreeItems Object

Defines the color used to draw horizontal grid lines.

Syntax

Get

C#uint Clr = object.GridHorizontalColor;
VB.NETClr = object.GridHorizontalColor As UInteger
C++OLE_COLOR Clr = object->GridHorizontalColor;
OLE_COLOR Clr = object->GetGridHorizontalColor();
CHRESULT object->get_GridHorizontalColor(OLE_COLOR* Clr);
VBClr = object.GridHorizontalColor As OLE_COLOR

Put

C#uint object.GridHorizontalColor = Clr;
VB.NETobject.GridHorizontalColor = Clr As UInteger
C++OLE_COLOR object->GridHorizontalColor = Clr;
void object->PutGridHorizontalColor(OLE_COLOR Clr);
CHRESULT object->put_GridHorizontalColor(OLE_COLOR Clr);
VBobject.GridHorizontalColor = Clr As OLE_COLOR

object

A SftTreeItems object.

Clr

Defines the color used to draw horizontal grid lines. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The GridHorizontalColor property defines the color used to draw horizontal grid lines.

Based on the Items.GridStyle property, grid lines are displayed using the specified color Clr. If Clr is set to -1, a suitable default color is used based on the operating system and current Windows theme used.

See Also SftTreeItems Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.