SftTree/NET 2.0

BackColorSelectedNoFocus Property, SftTree Class

Softel vdm, Inc.

Defines the default background color for items in the item area that are selected, when the control does not have the input focus.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property BackColorSelectedNoFocus As Color

C#   

public Color BackColorSelectedNoFocus { get; set; }

C++   

public: property Color BackColorSelectedNoFocus {
        Color get();
        void set(Color value);
}

Property Value

The default value is Color.Empty.

Comments

The BackColorSelectedNoFocus property defines the default background color for items in the item area that are selected, when the control does not have the input focus.

This property applies only if the tree control does not have the input focus. Otherwise, if it has the input focus, the BackColorSelected property is used.

Items that are not selected may use the colors defined using the BackColor property instead.

Depending on a cell's background (CellBaseClass.Appearance), the defined color may have no effect.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com