HeaderPane
Main
Hide
Share Link
Print

LinearGradientMode Property, ListClass Class

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

Class: ListClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

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 ListClass Class | Classes | SftBox/NET 3.0