Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

BackColorEnd Property, CellBaseClass Class

Defines the ending background color of the cell, when a gradient fill is used.

Class: CellBaseClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

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

Value

The ending background color or Color.Empty. If a color is defined, a gradient fill is used, starting with the CellBaseClass.BackColor color and ending with the BackColorEnd value. If this property is set to Color.Empty, a gradient fill is not used and the cell's background color is defined using the CellBaseClass.BackColor property.

The default value is Color.Empty.

Comments

Defines the ending background color of the cell, when a gradient fill is used.

If the BackColorEnd property is defined, the cell's background uses a gradient fill consisting of the colors defined using CellBaseClass.BackColor and BackColorEnd.

If a cell is considered selected, the CellBaseClass.BackColorSelected and CellBaseClass.BackColorSelectedEnd properties are used to define the background color instead.

SftTree.LinearGradientMode for items, RowHeadersClass.LinearGradientMode for row headers, HeadersClass.LinearGradientMode for column headers and FootersClass.LinearGradientMode for column footers.

See Also CellBaseClass Class | Classes | SftTree/NET 2.0