SftTree/NET 2.0

ForeColorSelected Property, ItemClass Class

Softel vdm, Inc.

Defines the foreground color of the item's cells, if the item is selected.

Syntax      ItemClass 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 foreground color or Color.Empty.

The default value is Color.Empty.

Comments

The ForeColorSelected property defines the foreground color of the item's cells, if the item is selected.

If the foreground color is set to Color.Empty, the following properties are used instead: ColumnClass.ForeColorSelected or ForeColorSelected for items, Headers.ForeColorSelected for column headers, Footers.ForeColorSelected for column footers. Individual selected cells can define their foreground color using the CellBaseClass.ForeColorSelected property.

If an item is not considered selected, the ForeColor property is used to define the foreground color instead.


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