Softelvdm.Controls Class Library for Windows Controls 1.0

BackColorSelected Property, CellBaseClass Class

Softel vdm, Inc.

Defines the background color of the cell, if the cell is selected.

Syntax      CellBaseClass Class (Softelvdm.Controls)

VB   

Public Property BackColorSelected As Color

C#   

public Color BackColorSelected { get; set; }

C++   

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

Property Value

The background color or Color.Empty.

The default value is Color.Empty.

Comments

The BackColorSelected property defines the background color of the cell, if the cell is selected.

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

Depending on the cell's Appearance property, the BackColorSelected property settings may have no effect.

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

SftTabs/NET 6.0: An active tab is considered selected. If the BackColorSelected property is set to Color.Empty, the tab's BackColor property is used instead.

If a cell is not considered selected, the BackColor property is used to define the background 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