Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

LinearGradientMode Property, HeadersClass Class

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

Class: HeadersClass
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 column header 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 the column header's appearance is defined as BackgroundAppearanceEnum.Clean. BackgroundAppearanceEnum.ButtonPlain or BackgroundAppearanceEnum.ThemedAppearanceHeaderEmptyArea (HeadersClass.AppearanceDefault or CellBaseClass.Appearance).

See Also HeadersClass Class | Classes | SftTree/NET 2.0



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.