SftTree/NET 2.0

ForeColorSelected Property, SftTree Class

Softel vdm, Inc.

Defines the default foreground color for items in the item area that are selected.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ForeColorSelected As Color

C#   

public Color ForeColorSelected { get; set; }

C++   

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

Property Value

The default value is Color.HighlightText.

Comments

The ForeColorSelected property defines the default foreground color for items in the item area that are selected.

This property applies only if the tree control has the input focus. Otherwise, if it doesn't have the input focus, the ForeColorSelectedNoFocus property is used.

Columns, items and cells can override the foreground color using the ColumnClass.ForeColorSelected, ItemClass.ForeColorSelected and CellBaseClass.ForeColorSelected properties.

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


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