SftTree/NET 2.0

ForeColorSelected Property, ColumnClass Class

Softel vdm, Inc.

Defines the column's default foreground color for cells in the item area that are selected.

Syntax      ColumnClass 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 foreground color for cells in this column or Color.Empty.

The default value is Color.Empty.

Comments

The ForeColorSelected property defines the column's default foreground color for cells in the item area that are selected.

Items and cells can override the foreground color using the ItemClass.ForeColorSelected, RowHeaders.BackColorSelected and CellBaseClass.ForeColorSelected properties.

If Color.Empty is specified, cells use the default color defined using the control's ForeColorSelected property instead, row headers use the RowHeaders.BackColorSelected property.

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


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