[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.GradientHeaderRenderer.-ctor

GradientHeaderRenderer Constructor

GradientHeaderRenderer(SerializationInfo, StreamingContext)

Creates a new painter of the gradient header from serialization.

Declaration
protected GradientHeaderRenderer(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

Serialization information

StreamingContext context

Streaming context

GradientHeaderRenderer()

Creates a new renderer for a gradient header.

Declaration
public GradientHeaderRenderer()
Public Sub New()

GradientHeaderRenderer(Color, Color, Color, Color, LinearGradientMode, Color, Color)

Creates a new renderer for a gradient header with color and mode specified.

Declaration
public GradientHeaderRenderer(Color topColor, Color bottomColor, Color activeTopColor, Color activeBottomColor, LinearGradientMode mode, Color selTopColor, Color selBottomColor)
Public Sub New(topColor As Color, bottomColor As Color, activeTopColor As Color, activeBottomColor As Color, mode As LinearGradientMode, selTopColor As Color, selBottomColor As Color)
Parameters
Type Name Description
Color topColor

Color at the top of the gradient

Color bottomColor

Color at the bottom of the gradient

Color activeTopColor

Color at the top when the header cell is active

Color activeBottomColor

Color at the bottom when the header cell is active

LinearGradientMode mode

Mode of the linear gradient

Color selTopColor

Color at the top of gradient when the column or row of header cell contains a selection

Color selBottomColor

Color at the bottom of the gradient when the column or row of header cell contains a selection

GradientHeaderRenderer(Color, Color, Color, Color, LinearGradientMode)

Creates a new renderer for a gradient header with color and mode specified.

Declaration
public GradientHeaderRenderer(Color topColor, Color bottomColor, Color activeTopColor, Color activeBottomColor, LinearGradientMode mode)
Public Sub New(topColor As Color, bottomColor As Color, activeTopColor As Color, activeBottomColor As Color, mode As LinearGradientMode)
Parameters
Type Name Description
Color topColor

Color at the top of the gradient

Color bottomColor

Color at the bottom of the gradient

Color activeTopColor

Color at the top when the header cell is active

Color activeBottomColor

Color at the bottom when the header cell is active

LinearGradientMode mode

Mode of the linear gradient