Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

BackColor Property, ItemClass Class

Defines the background color of the item's cells.

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

Syntax

public Color BackColor { get; set; }
Public Property BackColor 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 background color is set to Color.Empty, the following properties are used instead: ColumnClass.BackColor, ItemClass.BackColorOdd or ItemClass.BackColor for items, HeadersClass.BackColor for column headers, FootersClass.BackColor for column footers. Individual cells can define their background color using the CellBaseClass.BackColor property.

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

Depending on the cell's CellClass.Appearance property, the ItemClass.BackColor property settings may have no effect.

See Also ItemClass Class | Classes | SftTree/NET 2.0