GridHorizontalColor Property, SftTreeItems Object
Defines the color used to draw horizontal grid lines.
Syntax
Get
| C# | uint Clr = object.GridHorizontalColor; |
| VB.NET | Clr = object.GridHorizontalColor As UInteger |
| C++ | OLE_COLOR Clr = object->GridHorizontalColor; OLE_COLOR Clr = object->GetGridHorizontalColor(); |
| C | HRESULT object->get_GridHorizontalColor(OLE_COLOR* Clr); |
| VB | Clr = object.GridHorizontalColor As OLE_COLOR |
Put
| C# | uint object.GridHorizontalColor = Clr; |
| VB.NET | object.GridHorizontalColor = Clr As UInteger |
| C++ | OLE_COLOR object->GridHorizontalColor = Clr; void object->PutGridHorizontalColor(OLE_COLOR Clr); |
| C | HRESULT object->put_GridHorizontalColor(OLE_COLOR Clr); |
| VB | object.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