Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

BackColorSelected Property, ColumnClass Class

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

Class: ColumnClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

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

Value

The default background color for cells in this column or Color.Empty.

The default value is Color.Empty.

Comments

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

Items and cells can override the background color using the ItemClass.BackColorSelected, RowHeadersClass.BackColorSelected and CellBaseClass.BackColorSelected properties.

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

Cells that are not selected use the colors defined using the BackColor property instead. If a selected cell uses a selection style (SftTree.SelectionHighlightStyle property) that uses the ColumnClass.BackColorSelected property for only portions of the cell, the ColumnClass.BackColor property is used for the remainder of the cell.

See Also ColumnClass Class | Classes | SftTree/NET 2.0