Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

LinearGradientMode Property, SftTree Class

Defines the linear gradient mode used to render the available background area in cells in the item area.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public LinearGradientMode LinearGradientMode { get; set; }
Public Property LinearGradientMode As LinearGradientMode

Value

The linear gradient mode.

The default value is LinearGradientMode.Horizontal.

Comments

Defines the linear gradient mode used to render the available background area in cells in the item area.

If the background colors are defined with starting and ending values (usually CellBaseClass.BackColor and CellBaseClass.BackColorEnd), the available area is rendered using a gradient fill.

The defined linear gradient mode is only used if a cell's appearance is defined as BackgroundAppearanceEnum.Clean. BackgroundAppearanceEnum.ButtonPlain or BackgroundAppearanceEnum.ThemedAppearanceHeaderEmptyArea (CellBaseClass.Appearance).

See Also SftTree Class | Classes | SftTree/NET 2.0