HeaderPane
Main
Hide
Share Link
Print

SelectBackColorNoFocus Property, SftTreeItems Object

Defines the background color used to draw selected items when the control doesn't have the input focus.

Syntax

Get

C#uint Clr = object.SelectBackColorNoFocus;
VB.NETClr = object.SelectBackColorNoFocus As UInteger
C++OLE_COLOR Clr = object->SelectBackColorNoFocus;
OLE_COLOR Clr = object->GetSelectBackColorNoFocus();
CHRESULT object->get_SelectBackColorNoFocus(OLE_COLOR* Clr);
VBClr = object.SelectBackColorNoFocus As OLE_COLOR

Put

C#uint object.SelectBackColorNoFocus = Clr;
VB.NETobject.SelectBackColorNoFocus = Clr As UInteger
C++OLE_COLOR object->SelectBackColorNoFocus = Clr;
void object->PutSelectBackColorNoFocus(OLE_COLOR Clr);
CHRESULT object->put_SelectBackColorNoFocus(OLE_COLOR Clr);
VBobject.SelectBackColorNoFocus = Clr As OLE_COLOR

object

A SftTreeItems object.

Clr

Defines the background color used to draw selected items when the control doesn't have the input focus. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The SelectBackColorNoFocus property defines the background color used to draw selected items when the control doesn't have the input focus.

This property is only used if the Items.NoFocusStyle property is set to noFocusSftTreeKeepSel (0). If the control has the input focus, the Items.SelectBackColor property is used instead. Columns can override the default background color using the Column.SelectBackColor property. Cells can override the background color using the Cell.SelectBackColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the SelectBackColorNoFocus property for only portions of the item, the Items.BackColor property is used for the remainder of the item.

The SelectBackColorNoFocus only applies if the Items.NoFocusStyle property is set to noFocusSftTreeKeepSel (0).

See Also SftTreeItems Object | Object Hierarchy


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