CellSelectForeColor Property, SftTree Object
Defines the text color used to draw an item's cell that is selected.
Deprecated - Provided for compatibility with earlier versions only - Use Cell.SelectForeColor instead
Syntax
Get
| VB.NET | Clr = object.get_CellSelectForeColor(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As System.Drawing.Color |
| VB | Clr = object.CellSelectForeColor(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.get_CellSelectForeColor(int ItemIndex, short ColIndex); |
| VC++ | OLE_COLOR Clr = object->CellSelectForeColor[long ItemIndex][short ColIndex]; OLE_COLOR Clr = object->GetCellSelectForeColor(long ItemIndex, short ColIndex); |
| C | HRESULT object->get_CellSelectForeColor(long ItemIndex, short ColIndex, OLE_COLOR* Clr); |
Put
| VB.NET | object.set_CellSelectForeColor(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Clr As UInteger ) |
| VB | object.CellSelectForeColor(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Clr As OLE_COLOR |
| C#.NET | void object.set_CellSelectForeColor(int ItemIndex, short ColIndex, uint Clr); |
| VC++ | OLE_COLOR object->CellSelectForeColor[long ItemIndex][short ColIndex] = Clr; void object->PutCellSelectForeColor(long ItemIndex, short ColIndex, OLE_COLOR Clr); |
| C | HRESULT object->put_CellSelectForeColor(long ItemIndex, short ColIndex, OLE_COLOR Clr); |
object
A SftTree object.
ItemIndex
The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.
ColIndex
The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.
Clr
Defines the text color used to draw an item's cell that is selected. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
Deprecated - Provided for compatibility with earlier versions only - Use Cell.SelectForeColor instead
The CellSelectForeColor property defines the text color used to draw an item's cell that is selected.
The cell described by ItemIndex, ColIndex has the foreground color attribute Clr. This color is used as text color when the item is selected. If the item is not selected and uses a suitable selection style (Items.SelectStyle), the Cell.ForeColor property is used instead.
See Also SftTree Object | Object Hierarchy