|
|
|
SftTreeCell.SelectBackColor Property |
Defines the cell's background color when the item is selected.
Syntax
VB.NET |
|||
VB |
Clr = object.SelectBackColor As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->SelectBackColor; |
||
C |
HRESULT object->get_SelectBackColor(OLE_COLOR* Clr); |
||
Delphi |
Clr := object.SelectBackColor : Cardinal; |
||
VB.NET |
|||
VB |
object.SelectBackColor = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->SelectBackColor
= Clr; |
||
C |
HRESULT object->put_SelectBackColor(OLE_COLOR Clr); |
||
Delphi |
object.SelectBackColor := Clr : Cardinal; |
object
A SftTreeCell object.
Clr
Defines the cell's background color when the item is selected. -1 indicates that there is no defined color and the default color defined using Column.SelectBackColor is used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
The SelectBackColor property defines the cell's background color when the item is selected.
The cell has the background color attribute Clr. This color is used as background color when the item is selected. If the item is not selected and uses a suitable selection style (Items.SelectStyle), the Cell.BackColor property is used instead.
The Cell.SelectBackColorEnd property can be used to define the cell's background color, combined with SelectBackColor creating a gradient fill. The orientation of the gradient fill can be defined using the Cell.BackColorOrientation property.
See Also SftTreeCell Object | Object Hierarchy