Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

BackColorSelected Property, ItemClass Class

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

Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public Color BackColorSelected { get; set; }
Public Property BackColorSelected As Color

Value

The background color or Color.Empty.

The default value is Color.Empty.

Comments

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

If the background color is set to Color.Empty, the following properties are used instead: ColumnClass.BackColorSelected, BackColorSelected for items, HeadersClass.BackColorSelected for column headers, FootersClass.BackColorSelected for column footers. Individual selected cells can define their background color using the CellBaseClass.BackColorSelected property.

If an item is not considered selected, the ItemClass.BackColor property is used to define the background color instead.

See Also ItemClass Class | Classes | SftTree/NET 2.0