Softelvdm.Controls Class Library for Windows Controls 1.0

ForeColor Property, CellBaseClass Class

Softel vdm, Inc.

Defines the foreground color of the cell.

Syntax      CellBaseClass Class (Softelvdm.Controls)

VB   

Public Property ForeColor As Color

C#   

public Color ForeColor { get; set; }

C++   

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

Property Value

The foreground color or Color.Empty.

The default value is Color.Empty.

Comments

The ForeColor property defines the foreground color of the cell.

If the foreground color is set to Color.Empty, the containing item determines the foreground color instead.

SftTree/NET 2.0: Depending on the containing item, the following properties are used instead, if the ForeColor property is set to Color.Empty: RowHeaders.ForeColor for row headers, ItemClass.ForeColor, ColumnClass.ForeColor, ForeColorOdd or ForeColor for items, Headers.ForeColor for column headers, Footers.ForeColor for column footers.

SftTabs/NET 6.0: If the ForeColor property is set to Color.Empty, the control's ForeColor property is used instead.

If a cell is considered selected, the ForeColorSelected property is used to define the foreground color instead.

Version Information

Supported in version 1.0.
Products Table


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